I played this game couple of months ago and I want to play it again. But I can't because my Java seem to have an Error.
java.(profile name).ClassNotFoundException: com.sun.gluegen.runtime.DynamicLookupHelper
I think it might have something to do with runtime but I don't know what to do with it. Please help. Thank you.
-
Demeisen
- Posts: 5
- Joined: Mon Mar 21, 2011 4:15 am
Re: Java Error
I have the exact same problem.
I run Ubuntu 10.04 32 bits.
$ java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode)
I run Ubuntu 10.04 32 bits.
$ java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode)
-
walacewalaci
- Posts: 23
- Joined: Sun Feb 20, 2011 12:08 am
- Location: Canada
Re: Java Error
Aside from Ubuntu isn't it an other solution?
-
Demeisen
- Posts: 5
- Joined: Mon Mar 21, 2011 4:15 am
Re: Java Error
What do you mean?
I get this error about missing gluegen-rt with both the official client, and Ender's client.
A few months ago (March, April 2011), on the same computer, the official client worked just fine, I didn't try Ender's client back then.
I get this error about missing gluegen-rt with both the official client, and Ender's client.
A few months ago (March, April 2011), on the same computer, the official client worked just fine, I didn't try Ender's client back then.
-
walacewalaci
- Posts: 23
- Joined: Sun Feb 20, 2011 12:08 am
- Location: Canada
Re: Java Error
Well strangely its working on my windows vista but not on Xp.
-
MagicManICT
- Posts: 18435
- Joined: Tue Aug 17, 2010 1:47 am
Re: Java Error
Post the bug report generated when the client crashes. If using Ender's (or other 3rd party client), make sure the console window stays open after quitting by adding the "pause" command to the end of the .bat file. If using the vanilla client, it should open in a pop-up window. You can Ctrl+A to select all and then paste that in your post. Make sure to put the bug report in a Code block (between Quote and List in the editor tools).
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
-
walacewalaci
- Posts: 23
- Joined: Sun Feb 20, 2011 12:08 am
- Location: Canada
Re: Java Error
Code: Select all
java.lang.NoClassDefFoundError: com/sun/gluegen/runtime/DynamicLookupHelper
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at javax.media.opengl.GLDrawableFactory.getFactory(GLDrawableFactory.java:106)
at javax.media.opengl.GLCanvas.chooseGraphicsConfiguration(GLCanvas.java:520)
at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:131)
at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:90)
at haven.HavenPanel.<init>(HavenPanel.java:63)
at haven.MainFrame.<init>(MainFrame.java:120)
at haven.MainFrame.main2(MainFrame.java:211)
at haven.MainFrame.access$100(MainFrame.java:34)
at haven.MainFrame$5.run(MainFrame.java:266)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.sun.gluegen.runtime.DynamicLookupHelper
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 36 more
-
MagicManICT
- Posts: 18435
- Joined: Tue Aug 17, 2010 1:47 am
Re: Java Error
Perfect!
I've seen this pop up several times over the last couple of weeks. I'm not sure if anyone has come up with a fix. Are you running the vanilla client? If so, try one of the third party clients in The Wizards' Tower. If you still get the error, you might try flushing Java's cache.
I've seen this pop up several times over the last couple of weeks. I'm not sure if anyone has come up with a fix. Are you running the vanilla client? If so, try one of the third party clients in The Wizards' Tower. If you still get the error, you might try flushing Java's cache.
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
-
walacewalaci
- Posts: 23
- Joined: Sun Feb 20, 2011 12:08 am
- Location: Canada
Re: Java Error
Thank you very much.
I just cleared the cache and its working perfectly. Thanks again.
I just cleared the cache and its working perfectly. Thanks again.
-
Demeisen
- Posts: 5
- Joined: Mon Mar 21, 2011 4:15 am
Re: Java Error
cd .java/deployment; rm -rf cache; cdwalacewalaci wrote:Thank you very much.
I just cleared the cache and its working perfectly. Thanks again.
The standard client now works. When I try to run Ender's client with:
Code: Select all
#!/bin/sh
env LD_LIBRARY_PATH=./ java -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./res
Code: Select all
~/hearth/HnH_Ender_x32$ ./run.sh
Exception in thread "Haven main thread" java.lang.UnsatisfiedLinkError: no gluegen-rt in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1738)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at com.sun.gluegen.runtime.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:91)
at com.sun.gluegen.runtime.NativeLibLoader.access$000(NativeLibLoader.java:50)
at com.sun.gluegen.runtime.NativeLibLoader$1.run(NativeLibLoader.java:69)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.gluegen.runtime.NativeLibLoader.loadGlueGenRT(NativeLibLoader.java:67)
at com.sun.gluegen.runtime.NativeLibrary.ensureNativeLibLoaded(NativeLibrary.java:399)
at com.sun.gluegen.runtime.NativeLibrary.open(NativeLibrary.java:163)
at com.sun.gluegen.runtime.NativeLibrary.open(NativeLibrary.java:129)
at com.sun.opengl.impl.x11.DRIHack.begin(DRIHack.java:109)
at com.sun.opengl.impl.x11.X11GLDrawableFactory.<clinit>(X11GLDrawableFactory.java:99)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at javax.media.opengl.GLDrawableFactory.getFactory(GLDrawableFactory.java:111)
at javax.media.opengl.GLCanvas.chooseGraphicsConfiguration(GLCanvas.java:520)
at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:131)
at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:90)
at haven.HavenPanel.<init>(HavenPanel.java:77)
at haven.MainFrame.<init>(MainFrame.java:159)
at haven.MainFrame.main2(MainFrame.java:272)
at haven.MainFrame.access$100(MainFrame.java:52)
at haven.MainFrame$6.run(MainFrame.java:327)
at java.lang.Thread.run(Thread.java:662)