quite new to Linux, and H&H won't work

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

quite new to Linux, and H&H won't work

Postby warrisuxx » Mon Nov 09, 2009 4:40 pm

I'm quite new to Linux, i installed Ubuntu 9.10 (tested both 64 and 32bit version but right now I decided to stick with the 32, just to not make everything more complicated then it is) a few days ago and H&H just won't work.
I tried both, installing Java via "Software -> search -> clicking the "install Open Java JDK" butten, which was for me, as totally linux newby the easy way and installing it manually, via console, which took me some time, 'cause it was the very first time I installed something via linux console :P

Both on 32bit and on 64. I started on 64bit and just thought it might be some troubles because of the 64bit system, not having it supported the way it should be.
Now i tried it, as mentioned on the 32bit version, which should have everything needed supported. Tried again both, just the "install"-button and the manuel install, both didn't work. (Install was everytime both, installing java itself + the plugin, so I didn't forget the firefox plugin ;) )
I googled for "java test" which brought me to the java homepage ( http://www.java.com/de/download/installed.jsp obviously german ;) ) and it said, I'm using Java 6.17, which is what it should say :D
Well after a while I just thought let's just test it on a rnd-java game. googled for java games, picked one and it worked. I tried this with 2 other rnd-games and everything just worked fine.

So now I'm starting to gues what I'm doing wrong and I don't know what to do now , maybe someone over here got an Idea :x
Here's what happens, when I click on the play button:
(first time click) download, everything like it should be, the h&h screen/logo openes and when everything is ready an error occurs
Code: Select all
java.lang.UnsatisfiedLinkError: no jogl in java.library.path
   at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1698)
   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:121)
   at haven.MainFrame.main2(MainFrame.java:211)
   at haven.MainFrame.access$100(MainFrame.java:35)
   at haven.MainFrame$5.run(MainFrame.java:259)
   at java.lang.Thread.run(Thread.java:636)


Please help me, I'm realy new to Ubuntu and that's why I'm 99% percent sure the error's my fault but I don't know what it is :oops:
warrisuxx
 
Posts: 14
Joined: Tue Oct 20, 2009 9:18 pm

Re: quite new to Linux, and H&H won't work

Postby warrisuxx » Mon Nov 09, 2009 6:18 pm

just to keep it updated. Maybe i got it.
Reinstalling java right now, manually + jogl, maybe this'll work, at least I hope so :lol:
warrisuxx
 
Posts: 14
Joined: Tue Oct 20, 2009 9:18 pm

Re: quite new to Linux, and H&H won't work

Postby warrisuxx » Mon Nov 09, 2009 7:11 pm

now it's :
Code: Select all
java.lang.ExceptionInInitializerError
   at javax.media.opengl.GLCanvas.<clinit>(GLCanvas.java:67)
   at haven.MainFrame.<init>(MainFrame.java:121)
   at haven.MainFrame.main2(MainFrame.java:211)
   at haven.MainFrame.access$100(MainFrame.java:35)
   at haven.MainFrame$5.run(MainFrame.java:259)
   at java.lang.Thread.run(Thread.java:636)
Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission jogl.verbose read)
   at java.security.AccessControlContext.checkPermission(AccessControlContext.java:342)
   at java.security.AccessController.checkPermission(AccessController.java:553)
   at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
   at net.sourceforge.jnlp.runtime.JNLPSecurityManager.checkPermission(JNLPSecurityManager.java:281)
   at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1302)
   at java.lang.System.getProperty(System.java:669)
   at com.sun.opengl.impl.Debug$2.run(Debug.java:75)
   at java.security.AccessController.doPrivileged(Native Method)
   at com.sun.opengl.impl.Debug.isPropertyDefined(Debug.java:73)
   at com.sun.opengl.impl.Debug.<clinit>(Debug.java:52)
   ... 6 more


still not what I want it to be :|
warrisuxx
 
Posts: 14
Joined: Tue Oct 20, 2009 9:18 pm

Re: quite new to Linux, and H&H won't work

Postby theTrav » Tue Nov 10, 2009 4:07 am

I don't approve of your username.

Try using sun's JRE instead of the OpenJDK one.
User avatar
theTrav
 
Posts: 3464
Joined: Fri May 29, 2009 11:25 pm

Re: quite new to Linux, and H&H won't work

Postby loftar » Tue Nov 10, 2009 4:25 am

I've tried with OpenJDK from time to another though, and it should work. I can't say I have any idea why it wouldn't deal out appropriate permissions to the client, though (which is the cause of the error). Did you check any unusual security options somewhere or something?
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: quite new to Linux, and H&H won't work

Postby warrisuxx » Tue Nov 10, 2009 12:44 pm

theTrav wrote:I don't approve of your username.

Try using sun's JRE instead of the OpenJDK one.


I did try sun's JDK (which should have jre included) :oops:

But If i uninstall the openjdk, so the official jdk is the only one left I can't open the game, because clicking the play button will start a download (autohaven) where I should click on "open with JRE instead of downloading" which doesn't exist.
As mentioned, I got the JDK installed, I got the firefox plugin working but I don't have a JRE option to pick @download-screen.
As soon as I re-install openjdk, which also installs "OpenJDK Java 6 Web Start" I at least got the option to pick.

And I do approve of my username. When we (warri and I) got attacked from goon, he was afk, thought I'm kidding about the goon attack, which was just happening at our village. Later he said something like "well I'm dead I don't want to level all again, I won't play this shit, just kill your char [since they left me alive]"
I did so, skilled swimming, ported to rob, went for the first river and killed myself. Just 12hours later he told me something like "oh well, I don't have another game to play, so I will stick with H&H"
And THAT is (a) reason for my nick, couldn't he just tell me that before killing my char? :x

@Loftar: I'm checking every security option i can find (and google) right now, I'll update tomorrow if it worked out

€: Found the official webstarter :lol: , so now I don't have to use the openJDK, but got to go now, I'll update later and tell you guys if that one works :p
warrisuxx
 
Posts: 14
Joined: Tue Oct 20, 2009 9:18 pm

Re: quite new to Linux, and H&H won't work

Postby warrisuxx » Tue Nov 10, 2009 2:27 pm

with the official webstarter it's
Code: Select all
java.lang.NoClassDefFoundError: com/sun/gluegen/runtime/DynamicLookupHelper
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
   at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
   at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
   at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
   at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
   at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
   at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
   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:63)
   at haven.MainFrame.<init>(MainFrame.java:121)
   at haven.MainFrame.main2(MainFrame.java:211)
   at haven.MainFrame.access$100(MainFrame.java:35)
   at haven.MainFrame$5.run(MainFrame.java:259)
   at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: com.sun.gluegen.runtime.DynamicLookupHelper
   at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
   at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
   ... 36 more

:oops:

YARRRR, it WORKS!!!!! :p
I'm so happy right now and additionally I got sound! On Windows i only got special (I don't know the correct word right now) sounds like dropping something into water, but I never had backgroundmusic (i tried turn it off and on and so on, nothing worked).
Yarrr I'm happy right now :lol:

next thing to go: the client, but shouldn't be a big problem since now everything's running :lol:

€: Ah and to clear things up: It turned out that the homepage where I downloaded the jogl stuff only had the (main?)-jogl.so, downloading from the right homepage and I got all of the .so's needed
warrisuxx
 
Posts: 14
Joined: Tue Oct 20, 2009 9:18 pm

Re: quite new to Linux, and H&H won't work

Postby theTrav » Wed Nov 11, 2009 12:05 am

warrisuxx wrote:And I do approve of my username. When we (warri and I) got attacked from goon, he was afk, thought I'm kidding about the goon attack, which was just happening at our village. Later he said something like "well I'm dead I don't want to level all again, I won't play this shit, just kill your char [since they left me alive]"
I did so, skilled swimming, ported to rob, went for the first river and killed myself. Just 12hours later he told me something like "oh well, I don't have another game to play, so I will stick with H&H"
And THAT is (a) reason for my nick, couldn't he just tell me that before killing my char? :x


LOL! that's a funny story. It was pretty silly to kill your char just because you weren't playing anymore, why not just leave him inactive, just in case?
User avatar
theTrav
 
Posts: 3464
Joined: Fri May 29, 2009 11:25 pm

Re: quite new to Linux, and H&H won't work

Postby warrisuxx » Wed Nov 11, 2009 2:25 pm

the killing myself was something special. Warri got killed by Goon, they robbed me and I just thought "oh you want to kill me too? That's not going to happen!" ported to Rob, killed myself so they can't kill me :P
€: And pachos client's working on linux now for me too,

But, everything's laggy as hell on Linux, on Windows everything's fine :oops:
Moving the mouse is enough to result in 2fps :?:
Well I'll have a look if this is caused by the 9.10 version (which I got), 'cause many friend told me that it's buggy as hell and even browsing the internet is laggy :|
warrisuxx
 
Posts: 14
Joined: Tue Oct 20, 2009 9:18 pm

Re: quite new to Linux, and H&H won't work

Postby kaka » Thu Nov 12, 2009 8:06 am

warrisuxx wrote:Well I'll have a look if this is caused by the 9.10 version


I think it is. The game has become barely playable since the last dist upgrade.
It gives me more incentive to switch to Debian, though. :)
User avatar
kaka
 
Posts: 673
Joined: Fri Apr 03, 2009 8:31 am
Location: Château de Gâteau

Next

Return to Bugs

Who is online

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