can't play on linux plz help

Ask, answer and discuss any and all topics about the hows, whys, wheres and whens of playing Haven & Hearth.

can't play on linux plz help

Postby dukeboy87 » Fri Jul 16, 2010 7:46 am

i can't play on linux, it says theres an error! help

java.lang.UnsatisfiedLinkError: no jogl in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1681)
at java.lang.Runtime.loadLibrary0(Runtime.java:840)
at java.lang.System.loadLibrary(System.java:1047)
at com.sun.opengl.impl.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:189)
at com.sun.opengl.impl.NativeLibLoader.access$000(NativeLibLoader.java:49)
at com.sun.opengl.impl.NativeLibLoader$DefaultAction.loadLibrary(NativeLibLoader.java:80)
at com.sun.opengl.impl.NativeLibLoader.loadLibrary(NativeLibLoader.java:103)
at com.sun.opengl.impl.NativeLibLoader.access$200(NativeLibLoader.java:49)
at com.sun.opengl.impl.NativeLibLoader$1.run(NativeLibLoader.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.opengl.impl.NativeLibLoader.loadCore(NativeLibLoader.java:109)
at com.sun.opengl.impl.x11.X11GLDrawableFactory.<clinit>(X11GLDrawableFactory.java:101)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
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: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:264)
at java.lang.Thread.run(Thread.java:636)
dukeboy87
 
Posts: 2
Joined: Fri Jul 16, 2010 7:37 am

Re: can't play on linux plz help

Postby footwo » Fri Jul 16, 2010 11:05 am

32 or 64 bit processor?
footwo
 
Posts: 82
Joined: Tue Jun 22, 2010 11:11 pm

Re: can't play on linux plz help

Postby footwo » Fri Jul 16, 2010 11:06 am

wait...you have got the latest JRE installed right?
footwo
 
Posts: 82
Joined: Tue Jun 22, 2010 11:11 pm

Re: can't play on linux plz help

Postby loftar » Fri Jul 16, 2010 2:40 pm

dukeboy87 wrote:java.lang.UnsatisfiedLinkError: no jogl in java.library.path

I see this from time to time; I'm not sure just why it happens, but I think it's because the JOGL download doesn't finish property, and the JNLP client doesn't detect that properly (which is weird).

It usually helps to clear Java's tempfiles and try again.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9051
Joined: Fri Apr 03, 2009 7:05 am

Re: can't play on linux plz help

Postby Gilbertus » Fri Jul 16, 2010 3:00 pm

loftar wrote:
dukeboy87 wrote:java.lang.UnsatisfiedLinkError: no jogl in java.library.path

I see this from time to time; I'm not sure just why it happens, but I think it's because the JOGL download doesn't finish property, and the JNLP client doesn't detect that properly (which is weird).

It usually helps to clear Java's tempfiles and try again.


I have this on (shipped with Fedora 13) OpenJDK Runtime Environment (IcedTea6 1.8).
On Sun Java game runs OK.
Gilbertus
 
Posts: 174
Joined: Thu Jun 03, 2010 4:29 pm
Location: Poland

Re: can't play on linux plz help

Postby loftar » Fri Jul 16, 2010 3:51 pm

Well, for the record, I have no problems running the client with OpenJDK. Therefore, I'd still guess that the download just happened to fail when you used OpenJDK, and happened to succeed when you used Sun's Java.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9051
Joined: Fri Apr 03, 2009 7:05 am

Re: can't play on linux plz help

Postby footwo » Fri Jul 16, 2010 10:38 pm

I had the same problem when I tried to run the actual client, not using the .jnlp.

Try here:

http://www.cs.umd.edu/~meesh/kmconroy/JOGLTutorial/

there's instructions for JOGL there, it worked for me. I'm on Win7 64bit but theres instructions for linux too.
footwo
 
Posts: 82
Joined: Tue Jun 22, 2010 11:11 pm

Re: can't play on linux plz help

Postby dukeboy87 » Sat Jul 17, 2010 1:08 am

i have 32 bit and also im new to linux only had it for about a week.
dukeboy87
 
Posts: 2
Joined: Fri Jul 16, 2010 7:37 am


Return to How do I?

Who is online

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