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.
dukeboy87
Posts: 2
Joined: Fri Jul 16, 2010 7:37 am

can't play on linux plz help

Post by dukeboy87 »

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)
footwo
Posts: 82
Joined: Tue Jun 22, 2010 11:11 pm

Re: can't play on linux plz help

Post by footwo »

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

Re: can't play on linux plz help

Post by footwo »

wait...you have got the latest JRE installed right?
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: can't play on linux plz help

Post by loftar »

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
Gilbertus
Posts: 174
Joined: Thu Jun 03, 2010 4:29 pm
Location: Poland

Re: can't play on linux plz help

Post by Gilbertus »

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.
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: can't play on linux plz help

Post by loftar »

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
footwo
Posts: 82
Joined: Tue Jun 22, 2010 11:11 pm

Re: can't play on linux plz help

Post by footwo »

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.
dukeboy87
Posts: 2
Joined: Fri Jul 16, 2010 7:37 am

Re: can't play on linux plz help

Post by dukeboy87 »

i have 32 bit and also im new to linux only had it for about a week.

Return to “How do I?”