[SOLVED]Cant log in due to "no jogl in java.library.path"

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

[SOLVED]Cant log in due to "no jogl in java.library.path"

Postby Casee » Wed Jul 18, 2012 5:01 am

Idk whats up I tried re installing my java didnt work. Any suggetions??

-Also I have a nvidia video card. I changed thread optimization to off. Still no effect.



java.lang.UnsatisfiedLinkError: no jogl in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
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.windows.WindowsGLDrawableFactory.<clinit>(WindowsGLDrawableFactory.java:60)
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)
Last edited by Casee on Wed Jul 18, 2012 9:14 am, edited 1 time in total.
Casee
 
Posts: 4
Joined: Mon Jun 18, 2012 7:23 am

Re: Cant log in due to "no jogl in java.library.path"

Postby borka » Wed Jul 18, 2012 5:38 am

Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Cant log in due to "no jogl in java.library.path"

Postby Casee » Wed Jul 18, 2012 6:05 am

^ didnt help but thanks :)!
Casee
 
Posts: 4
Joined: Mon Jun 18, 2012 7:23 am

Re: Cant log in due to "no jogl in java.library.path"

Postby borka » Wed Jul 18, 2012 6:14 am

didn't help with what?!?

you didn't make clear what your problem is...

Java not installed properly? Not using default client but Ender?

If you run the default client and open the autohaven.jnlp with Java Web Start Launcher it downloads all stuff needed ... so you shouldn't see that message: no jogl in java.library.path...

If you run Ender client:
Error contains: "java.lang.UnsatisfiedLinkError: no jogl..." or "...jogl.dll: Can't find dependent libraries"
Add: -Djava.library.path="PATH TO GAME FOLDER" to your run.bat.
Example:
Code: Select all
"C:\Program Files (x86)\Java\jre6\bin\java.exe" -Djava.library.path="C:\games\HnH\" -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se

viewtopic.php?f=27&t=14575

Windows cannot find the archive: "-Djava.library.path..."
This section of the run.bat file is typically not required: -Djava.library.path="PATH TO GAME FOLDER". Remove it from the run.bat file first. If the error persists, check to make sure you have "quotes" where they should be. The -djava.library.path section is usually only required to satisfy errors like java.lang.UnsatisfiedLinkError: no jogl in java.library.path (Usually applies to Linux users)

viewtopic.php?f=27&t=14575

ah you're trying to run arksu client on OpenBSD on a Mips system .... :P Sorry then i can't help you...

Translation: give proper Informations - we don't know your Computer...meh all this riddles... ;)
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Cant log in due to "no jogl in java.library.path"

Postby Casee » Wed Jul 18, 2012 8:35 am

The title of this thread is me stating the problem I assumed everyone read that before posting but I do apologize. Im using the default browser provided by "Haven and Hearth"

My issue: Haven and Hearth wont start up. Due to the error provided above and below.

my computer details
- Windows 7, 32 bit
-Nvidia video card

I tried opening it with the Java web starter I got the same error message


java.lang.UnsatisfiedLinkError: no jogl in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
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.windows.WindowsGLDrawableFactory.<clinit>(WindowsGLDrawableFactory.java:60)
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)
Casee
 
Posts: 4
Joined: Mon Jun 18, 2012 7:23 am

Re: Cant log in due to "no jogl in java.library.path"

Postby borka » Wed Jul 18, 2012 8:49 am

pls test your Java install: http://java.com/en/download/testjava.jsp

and pls tell what Java version (i.e. 7u5)
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Cant log in due to "no jogl in java.library.path"

Postby Casee » Wed Jul 18, 2012 9:01 am

Borka I figured it out. It was my Javaw.exe? It couldnt find it so I moved it to my desktop and it worked. The weridest thing. But thanks for helping :)! much appreciated.
Casee
 
Posts: 4
Joined: Mon Jun 18, 2012 7:23 am

Re: Cant log in due to "no jogl in java.library.path"

Postby borka » Wed Jul 18, 2012 9:08 am

strange as it's normally here:

C:\Program Files (x86)\Java\jre7\bin

where the javaws.exe is located too which is the Web Start Launcher which automatically links autohaven there

so you might test your Java with the official test applet in the link above anyways

also the information if your Java is located somewhere else would be helping me for troubleshooting other ppls probs ;)
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap


Return to Bugs

Who is online

Users browsing this forum: Claude [Bot] and 0 guests