Java Error

The worst monsters in the Hearthlands warp the fabric of space and time..

Java Error

Postby walacewalaci » Sat Dec 17, 2011 7:55 pm

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.
User avatar
walacewalaci
 
Posts: 23
Joined: Sun Feb 20, 2011 12:08 am
Location: Canada

Re: Java Error

Postby Demeisen » Sat Dec 17, 2011 10:05 pm

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)
Demeisen
 
Posts: 5
Joined: Mon Mar 21, 2011 4:15 am

Re: Java Error

Postby walacewalaci » Sat Dec 17, 2011 10:47 pm

Aside from Ubuntu isn't it an other solution?
User avatar
walacewalaci
 
Posts: 23
Joined: Sun Feb 20, 2011 12:08 am
Location: Canada

Re: Java Error

Postby Demeisen » Mon Dec 19, 2011 2:41 am

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.
Demeisen
 
Posts: 5
Joined: Mon Mar 21, 2011 4:15 am

Re: Java Error

Postby walacewalaci » Thu Dec 22, 2011 9:41 pm

Well strangely its working on my windows vista but not on Xp.
User avatar
walacewalaci
 
Posts: 23
Joined: Sun Feb 20, 2011 12:08 am
Location: Canada

Re: Java Error

Postby MagicManICT » Thu Dec 22, 2011 11:01 pm

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.
User avatar
MagicManICT
 
Posts: 18436
Joined: Tue Aug 17, 2010 1:47 am

Re: Java Error

Postby walacewalaci » Mon Dec 26, 2011 10:46 pm

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
Is that what you mean?
User avatar
walacewalaci
 
Posts: 23
Joined: Sun Feb 20, 2011 12:08 am
Location: Canada

Re: Java Error

Postby MagicManICT » Tue Dec 27, 2011 1:19 am

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.
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
User avatar
MagicManICT
 
Posts: 18436
Joined: Tue Aug 17, 2010 1:47 am

Re: Java Error

Postby walacewalaci » Tue Dec 27, 2011 11:03 pm

Thank you very much.
I just cleared the cache and its working perfectly. Thanks again. :)
User avatar
walacewalaci
 
Posts: 23
Joined: Sun Feb 20, 2011 12:08 am
Location: Canada

Re: Java Error

Postby Demeisen » Mon Jan 02, 2012 9:14 pm

walacewalaci wrote:Thank you very much.
I just cleared the cache and its working perfectly. Thanks again. :)


cd .java/deployment; rm -rf cache; cd

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


(or without the env part) I get:

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)
Demeisen
 
Posts: 5
Joined: Mon Mar 21, 2011 4:15 am

Next

Return to Bugs

Who is online

Users browsing this forum: Barkrowler [Bot], Claude [Bot] and 1 guest