Results 1 to 8 of 8

Thread: Errors with Java (IcedTea7 2.3.8) running minecraft

  1. #1
    Join Date
    May 2009
    Location
    Iowa, USA
    Posts
    42

    Default Errors with Java (IcedTea7 2.3.8) running minecraft

    I've been searching forums and search-engine results for hours trying to get minecraft (v1.5.2) to work in openSusee 12.3.

    This is the error I get in the terminal when running java -jar /home/margun/Downloads/minecraft.jar
    Code:
    Exception in thread "main" java.lang.NoClassDefFoundError: org/lwjgl/LWJGLException
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2451)
        at java.lang.Class.getMethod0(Class.java:2694)
        at java.lang.Class.getMethod(Class.java:1622)
        at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)
    Caused by: java.lang.ClassNotFoundException: org.lwjgl.LWJGLException
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
        ... 6 more
    java -version yields
    Code:
    java version "1.7.0_17"
    OpenJDK Runtime Environment (IcedTea7 2.3.8) (suse-8.8.1-x86_64)
    OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
    I do have an openSuse 12.2 computer (my son's) running IcedTea7 and minecraft works on it. I wish I could remember what I did to get that working. I've tried updating the lwjgl's in the /bin and /bin/natives to what's on the working machine and to the latest version (v2.9) as well as version 2.8.4.
    If anyone has any input I would very much appreciate it.
    Dell M4800
    AMD FirePro M5100 & Intel integrated Graphics
    System:
    Kernel: 5.3.4-1-default x86_64 bits: 64 Desktop: Gnome 3.32.2 Distro: openSUSE Tumbleweed 20191009

  2. #2

    Default Re: Errors with Java (IcedTea7 2.3.8) running minecraft

    Googling for "org/lwjgl/LWJGLException" led me to org.lwjgl.LWJGLException: Pixel format not accelerated | World of Minecraft which makes me believe this is related to the graphics driver. (haven't read that thread though... )

    So, do you have the proprietary nvidia driver installed?

    What is the output of
    Code:
    glxinfo | grep render
    ?
    (you need to install the package "Mesa-demo-x" first)

  3. #3
    Join Date
    May 2010
    Location
    Space Colony Lagrange Point 22° à, 77° Ƅ, 56° ɤ, 99° ɜ
    Posts
    3,166

    Default Re: Errors with Java (IcedTea7 2.3.8) running minecraft

    GNOME Version 3.20.2
    openSUSE Leap 42.3 64-bit

    www.vazhavandan.blogspot.com

  4. #4
    Join Date
    May 2009
    Location
    Iowa, USA
    Posts
    42

    Default Re: Errors with Java (IcedTea7 2.3.8) running minecraft

    Output of glxinfo | grep render
    Code:
    direct rendering: Yes
    OpenGL renderer string: GeForce GTX 460M/PCIe/SSE2
        GL_NV_conditional_render, GL_NV_copy_depth_to_color, GL_NV_copy_image, 
        GL_NV_parameter_buffer_object2, GL_NV_path_rendering, 
        GL_NVX_conditional_render, GL_NVX_gpu_memory_info, 
        GL_OES_depth_texture, GL_OES_element_index_uint, GL_OES_fbo_render_mipmap,
    I must have the nVidia driver. It's a mostly default install of 12.3. I just reformatted and installed the other day for a fresh start from Sabayon.

    I have tried this 64 bit - Minecraft in jdk 1.7.0_u2 x64 - Ask Ubuntu to no avail but I might revisit that and try again.

    Should I install and switch to opensource drivers?
    Dell M4800
    AMD FirePro M5100 & Intel integrated Graphics
    System:
    Kernel: 5.3.4-1-default x86_64 bits: 64 Desktop: Gnome 3.32.2 Distro: openSUSE Tumbleweed 20191009

  5. #5
    Join Date
    May 2009
    Location
    Iowa, USA
    Posts
    42

    Default Re: Errors with Java (IcedTea7 2.3.8) running minecraft

    I also noticed that on nVidia's site the 64bit driver for my 460m card is at version 319.17 while my installed version is at 310.44
    Dell M4800
    AMD FirePro M5100 & Intel integrated Graphics
    System:
    Kernel: 5.3.4-1-default x86_64 bits: 64 Desktop: Gnome 3.32.2 Distro: openSUSE Tumbleweed 20191009

  6. #6

    Default Re: Errors with Java (IcedTea7 2.3.8) running minecraft

    Quote Originally Posted by marinegundoctor View Post
    Output of glxinfo | grep render
    Code:
    direct rendering: Yes
    OpenGL renderer string: GeForce GTX 460M/PCIe/SSE2
        GL_NV_conditional_render, GL_NV_copy_depth_to_color, GL_NV_copy_image, 
        GL_NV_parameter_buffer_object2, GL_NV_path_rendering, 
        GL_NVX_conditional_render, GL_NVX_gpu_memory_info, 
        GL_OES_depth_texture, GL_OES_element_index_uint, GL_OES_fbo_render_mipmap,

    I must have the nVidia driver. It's a mostly default install of 12.3. I just reformatted and installed the other day for a fresh start from Sabayon.
    Yes, you have and it's working alright, as your output shows.


    I have tried this 64 bit - Minecraft in jdk 1.7.0_u2 x64 - Ask Ubuntu to no avail but I might revisit that and try again.


    Should I install and switch to opensource drivers?
    No, that wouldn't help. "java.lang.NoClassDefFoundError: org/lwjgl/LWJGLException" means java doesn't find the lwjgl extension.

    But after googling some more, it seems that minecraft has problems with OpenJDK as included in openSUSE.
    You could try installing Sun Java from here instead: Java SE Downloads. This is also recommended on minecraft's homepage btw:
    Download minecraft.jar (89 KB). The jar is executable and might work as-is. If you run into memory issues, try launching it with java -Xmx1024M -Xms512M -cp minecraft.jar net.minecraft.LauncherFrame, also please use Sun's JVM.
    That said, I just tried to run the launcher and it seems to work fine here on my 12.3 system with OpenJDK:

    Or does it crash later on? I haven't tried further, since I don't have an account...

  7. #7
    Join Date
    May 2009
    Location
    Iowa, USA
    Posts
    42

    Default Re: Errors with Java (IcedTea7 2.3.8) running minecraft

    Quote Originally Posted by wolfi323 View Post
    Or does it crash later on? I haven't tried further, since I don't have an account...



    I don't even get to that screen. I get the error when in the command line when trying to run the game via command line. Although I have read of others having problems (black screen, etc) after logging in.


    That said, I just tried to run the launcher and it seems to work fine here on my 12.3 system with OpenJDK:
    What version of OpenJDK are you using? I'm on IcedTea7. I'm thinking that in the past I got this working by switching to IcedTea6. I'll try installing Sun's version but I don't think it will work since you have it working with OpenJDK (assuming you're on IT-7).
    Thanks again for helping me with this!
    Dell M4800
    AMD FirePro M5100 & Intel integrated Graphics
    System:
    Kernel: 5.3.4-1-default x86_64 bits: 64 Desktop: Gnome 3.32.2 Distro: openSUSE Tumbleweed 20191009

  8. #8
    Join Date
    May 2009
    Location
    Iowa, USA
    Posts
    42

    Default [SOLVED] Re: Errors with Java (IcedTea7 2.3.8) running minecraft

    Haha, well I just printed off and signed my very own ID-10T form!
    I looked at another recent thread on minecraft and openSuse and realized my problem.
    The game runs and opens normally with the default install of OpenJDK (IcedTea7 2.3.8, java 1.7.0_17).

    The above post notes that there is a difference in the two minecraft.jar files (one is downloaded from minecraft.net and the other is created in userland upon executing the former). I simply downloaded a fresh copy of minecraft.jar from the website and executed that (after marking it as executable). I'm not sure exactly what happened the first time around but I ended up trying to execute a broken version of the file in ~/.minecraft/bin. It seems that executing the original fixed it.

    Thanks for your time and efforts to all who've posted here. I hope it helps others!
    Dell M4800
    AMD FirePro M5100 & Intel integrated Graphics
    System:
    Kernel: 5.3.4-1-default x86_64 bits: 64 Desktop: Gnome 3.32.2 Distro: openSUSE Tumbleweed 20191009

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •