How To Play Minecraft Java Edition On L4T Linux [Tutorial]

OverkillLabs Jun 24, 2019.

  1. Craftyawesome

    Craftyawesome GBAtemp Regular

    Member
    4
    Feb 3, 2018
    United States
    This gbatemp post installs java 8. I ended up with 11 at some point (random ppa with launcher that didn't work?) and I got this same error.

    So use that link to uninstall java, then start this gbatemp tutorial from the beginning.
     
  2. Alex S

    Alex S Creator Of WWHDM, And Metroid Fusion XER0X!

    Member
    6
    May 2, 2016
    United States
    Hell
    now i get this wtf


    alexs2412@alexs2412-laptop:~$ sudo apt install openjdk-8-jdk
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following additional packages will be installed:
    ca-certificates-java fonts-dejavu-extra java-common libatk-wrapper-java
    libatk-wrapper-java-jni openjdk-8-jdk-headless openjdk-8-jre
    openjdk-8-jre-headless
    Suggested packages:
    default-jre openjdk-8-demo openjdk-8-source visualvm icedtea-8-plugin
    fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei
    fonts-wqy-zenhei
    The following NEW packages will be installed:
    ca-certificates-java fonts-dejavu-extra java-common libatk-wrapper-java
    libatk-wrapper-java-jni openjdk-8-jdk openjdk-8-jdk-headless openjdk-8-jre
    openjdk-8-jre-headless
    0 upgraded, 9 newly installed, 0 to remove and 313 not upgraded.
    Need to get 38.4 MB of archives.
    After this operation, 147 MB of additional disk space will be used.
    Do you want to continue? [Y/n] Y
    Abort.
     
  3. Craftyawesome

    Craftyawesome GBAtemp Regular

    Member
    4
    Feb 3, 2018
    United States
    Try both capital and lowercase y? Maybe add -y before install? Instead of apt try apt-get?
     
  4. Alex S

    Alex S Creator Of WWHDM, And Metroid Fusion XER0X!

    Member
    6
    May 2, 2016
    United States
    Hell
    after running the installer i now have


    openjdk version "1.8.0_212"
    OpenJDK Runtime Environment (build 1.8.0_212-8u212-b03-0ubuntu1.18.04.1-b03)
    OpenJDK 64-Bit Server VM (build 25.212-b03, mixed mode)


    is this correct?

    EDIT: It works now :)
     
    Last edited by Alex S, Jun 26, 2019
  5. Alex S

    Alex S Creator Of WWHDM, And Metroid Fusion XER0X!

    Member
    6
    May 2, 2016
    United States
    Hell
    and the launcher spits this at me now...


    Picked up _JAVA_OPTIONS: -Djava.library.path=/home/alexs2412/.minecraft/natives/
    OpenJDK 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
    GameStarter running! net.minecraft.client.main.Main
    [12:13:29] [Client thread/INFO]: Setting user: alexs2412
    [12:13:42] [Client thread/INFO]: LWJGL Version: 2.9.4
    #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    # SIGSEGV (0xb) at pc=0x0000007f74ee1670, pid=31436, tid=0x0000007fa60261f0
    #
    # JRE version: OpenJDK Runtime Environment (8.0_212-b03) (build 1.8.0_212-8u212-b03-0ubuntu1.18.04.1-b03)
    # Java VM: OpenJDK 64-Bit Server VM (25.212-b03 mixed mode linux-aarch64 compressed oops)
    # Problematic frame:
    # C [libGLX.so.0+0xd670]
    #
    # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
    #
    # An error report file with more information is saved as:
    # /home/alexs2412/.minecraft/hs_err_pid31436.log
    #
    # If you would like to submit a bug report, please visit:
    # http://bugreport.java.com/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    #

     
  6. Craftyawesome

    Craftyawesome GBAtemp Regular

    Member
    4
    Feb 3, 2018
    United States
    I guess something compiled wrong or you are running a version newer than 1.12.2.
     
  7. Alex S

    Alex S Creator Of WWHDM, And Metroid Fusion XER0X!

    Member
    6
    May 2, 2016
    United States
    Hell
    it finally works but no sound? (i did reinstall linux on a newer faster sd as well)
     
  8. Menchen

    Menchen Newbie

    Newcomer
    1
    Apr 27, 2019
    Spain
    Did you copy openal to natives?
     
  9. Alex S

    Alex S Creator Of WWHDM, And Metroid Fusion XER0X!

    Member
    6
    May 2, 2016
    United States
    Hell
    yeah and i double checked. thats why im confused.
     
  10. Menchen

    Menchen Newbie

    Newcomer
    1
    Apr 27, 2019
    Spain
    Try
    Code:
    wget http://kcat.strangesoft.net/openal-releases/openal-soft-1.15.1.tar.bz2
    tar xvjf openal-soft-1.15.1.tar.bz2
    cd openal-soft-1.15.1/build/
    cmake ..
    make
    After compiling, copy that openal to natives.
     
    Last edited by Menchen, Jun 27, 2019
  11. Alex S

    Alex S Creator Of WWHDM, And Metroid Fusion XER0X!

    Member
    6
    May 2, 2016
    United States
    Hell

    IT WORKS!!!

    I did have to copy lib.openal.so.1.15.1 to tje natives folder AND rename it to lib.openal.so and then it worked :)
     
    RiceAlex likes this.
  12. RiceAlex

    RiceAlex Member

    Newcomer
    1
    May 6, 2019
    China
    Have u manged to get Minecraft 1.12.2 fullscreen correctly?
     
    Last edited by RiceAlex, Jun 27, 2019
  13. Alex S

    Alex S Creator Of WWHDM, And Metroid Fusion XER0X!

    Member
    6
    May 2, 2016
    United States
    Hell
    just alt enter it, and it stays fullscreen.
     
  14. RiceAlex

    RiceAlex Member

    Newcomer
    1
    May 6, 2019
    China
    I mean F11 fullscreen,the method you used is maximize window
     
  15. Alex S

    Alex S Creator Of WWHDM, And Metroid Fusion XER0X!

    Member
    6
    May 2, 2016
    United States
    Hell
    with vsync is there a difference? i mean fullscreen borderless window is what u usually use in mc and it works fine here.
     
  16. Craftyawesome

    Craftyawesome GBAtemp Regular

    Member
    4
    Feb 3, 2018
    United States
    It works on a normal monitor (not rotated). Maybe if you disable the switch's rotation it would work on portable, albeit vertically.
     
  17. Alex S

    Alex S Creator Of WWHDM, And Metroid Fusion XER0X!

    Member
    6
    May 2, 2016
    United States
    Hell
    i got this to work on both docked and undocked... what are you talking about?
     
  18. Craftyawesome

    Craftyawesome GBAtemp Regular

    Member
    4
    Feb 3, 2018
    United States
    large images incoming
    Warning: Spoilers inside!
     
    Last edited by Craftyawesome, Jun 27, 2019
    RiceAlex likes this.
  19. RiceAlex

    RiceAlex Member

    Newcomer
    1
    May 6, 2019
    China
    Yes,I encounter this bug too,trying to fix it anyway but failed and even broke my L4T

    — Posts automatically merged - Please don't double post! —

    Forcing the correct resolution is failed,using Optifine and forcing it to be 1280x720 got same result at 720x1280 framebuffer,but f11 fullscreen worked correctly on 1.7.2,so maybe this is a bug related to newer version of minecraft or LWJGL2,
    could you switch to LWJGL3 to see if it fix?
     
  20. RiceAlex

    RiceAlex Member

    Newcomer
    1
    May 6, 2019
    China
    @OverkillLabs There is a serious BUG cause by installing QT5 ,which changes L4T graphics driver and will prevent you from launching Minecraft.
    Error"LibGLX.so 0+670d" while initializing LWJGL2 and Minecraft CRASHES!
     
Quick Reply
Draft saved Draft deleted
Loading...