Ubuntu 13.04 and Havne nad Hearth (How do I?)

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

Re: Ubuntu 13.04 and Havne nad Hearth (How do I?)

Postby dagrimreefah » Thu May 09, 2013 7:07 am

Andajas wrote:so far, my main problem is that I cant seem to find the way to install icedtea as single, but only as a plugin of openjdk, and another thing run.sh wont start as a program even when I mark it as such in properties

Sorry, you'll want the following packages (open a terminal and copy/paste to it):
Code: Select all
sudo apt-get install openjdk-7-jre default-jre icedtea-netx-common

If double clicking the run.sh doesn't work after that, try right-clicking the run.sh and selecting "Execute".
User avatar
dagrimreefah
 
Posts: 2635
Joined: Wed May 25, 2011 3:01 am

Re: Ubuntu 13.04 and Havne nad Hearth (How do I?)

Postby bant » Sun May 19, 2013 4:08 pm

I have ubuntu i have done everything what u ssaid in that theard and i have another problem.
Code: Select all
Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/opengl/GLCanvas
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access{TEXT}0(URLClassLoader.java:73)
at java.net.URLClassLoader.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Caused by: java.lang.ClassNotFoundException: javax.media.opengl.GLCanvas
at java.net.URLClassLoader.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
... 11 more
Could not find the main class: haven.MainFrame. Program will exit.

can you help ?
bant
 
Posts: 8
Joined: Wed Sep 08, 2010 4:00 pm

Re: Ubuntu 13.04 and Havne nad Hearth (How do I?)

Postby borka » Sun May 19, 2013 4:20 pm

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: Ubuntu 13.04 and Havne nad Hearth (How do I?)

Postby bant » Sun May 19, 2013 4:46 pm

Yes
bant
 
Posts: 8
Joined: Wed Sep 08, 2010 4:00 pm

Re: Ubuntu 13.04 and Havne nad Hearth (How do I?)

Postby borka » Sun May 19, 2013 5:06 pm

post your run.sh pls
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: Ubuntu 13.04 and Havne nad Hearth (How do I?)

Postby bant » Sun May 19, 2013 7:45 pm

Code: Select all
java -jar haven.jar moltke.seatribe.se -r ./res
bant
 
Posts: 8
Joined: Wed Sep 08, 2010 4:00 pm

Re: Ubuntu 13.04 and Havne nad Hearth (How do I?)

Postby borka » Sun May 19, 2013 7:51 pm

ah that's a (faulty) run.bat for windows ;)
look here at Grims example:
viewtopic.php?f=2&t=30741#p396297

Third, you must make a text file. Call it "run.sh". Then put this in it:


Code: Select all
java -Djava.library.path="~/path/to/libraries" -Xms256m -Xmx512m -jar "~path/to/HnH_Ender_x64/haven.jar" -d moltke.seatribe.se -r ./res


Make sure to make the necessary changes to the above code to reflect your file paths.

Fourth, put the run.sh file in your Enders folder. Then, right click it, select the "Permissions" tab, and check "Allow this file to run as a program".

Finally, double click the run.sh and (hopefully) enjoy.

Of course, these are the steps to get it running on my Linux Mint machine. But both distros are quite similar, so it should work for you too.

Hope this helps.
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: Ubuntu 13.04 and Havne nad Hearth (How do I?)

Postby bant » Sun May 19, 2013 8:31 pm

Again the same error
bant
 
Posts: 8
Joined: Wed Sep 08, 2010 4:00 pm

Re: Ubuntu 13.04 and Havne nad Hearth (How do I?)

Postby borka » Sun May 19, 2013 8:34 pm

drop the jogl and gluegen libaries into Ender folder - edit the libaries path to Ender folder in run.sh

you're using 64 Bit Ender and update?

post your run.sh
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: Ubuntu 13.04 and Havne nad Hearth (How do I?)

Postby bant » Sun May 19, 2013 8:44 pm

32 bit
run.sh code
Code: Select all
java -Djava.library.path="/home/krzycho/Pulpit/HnH_Ender_x32/" -Xms256m -Xmx512m -jar "/home/krzycho/Pulpit/HnH_Ender_x32/haven.jar" -d moltke.seatribe.se -r ./res
bant
 
Posts: 8
Joined: Wed Sep 08, 2010 4:00 pm

PreviousNext

Return to How do I?

Who is online

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