Setting up H&H on Mac
Moderator: Phades
-
jonglobe
- Posts: 75
- Joined: Sat Feb 18, 2012 8:39 pm
Re: Setting up H&H on Mac
So I have Java 7?
I followed the Apple Support instructions to get back from 7 to 6 though (as HasseKebab instructed on page 1). Is there anything else I can try?
-
borka
- Posts: 9965
- Joined: Thu Feb 03, 2011 7:47 pm
- Location: World of Sprucecap
Re: Setting up H&H on Mac
we've been far already 
we've been getting no jogl error but instead that gluegen one - now we have to find out how to solve that
suggestion:
1. rename existing Ender_x64 folder
2. make a new fresh one - unpack update into
3. delete all files that have jogl or gluegen in their name in new Ender_x64
4. unpack the jogl all platforms to somewhere, copy only these from it's Jar folder:
gluegen-rt.jar
jogl-all.jar
gluegen-rt-natives-macosx-universal.jar
jogl-all-natives-macosx-universal.jar
into new Ender_x64 (- if you are asked to overwrite anything you didn't delete all before)
5. use this
or
we've been getting no jogl error but instead that gluegen one - now we have to find out how to solve that
suggestion:
1. rename existing Ender_x64 folder
2. make a new fresh one - unpack update into
3. delete all files that have jogl or gluegen in their name in new Ender_x64
4. unpack the jogl all platforms to somewhere, copy only these from it's Jar folder:
gluegen-rt.jar
jogl-all.jar
gluegen-rt-natives-macosx-universal.jar
jogl-all-natives-macosx-universal.jar
into new Ender_x64 (- if you are asked to overwrite anything you didn't delete all before)
5. use this
Code: Select all
#!/bin/bash
cd `dirname "$0"`
java -d64 -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.seor
Code: Select all
#!/bin/bash
cd `dirname "$0"`
java -Djava.library.path="/Users/Christo/Downloads/HnH_Ender_x64/" -d64 -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se-
jonglobe
- Posts: 75
- Joined: Sat Feb 18, 2012 8:39 pm
Re: Setting up H&H on Mac
Thanks for persevering! Latest error when I followed your steps:
Last login: Tue Jul 30 19:33:57 on ttys000
/Users/Christo/Downloads/HnH_Ender_x64/haven\ copy ; exit;
Christos-MacBook-Air:~ Christo$ /Users/Christo/Downloads/HnH_Ender_x64/haven\ copy ; exit;
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:792)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2521)
at java.lang.Class.getMethod0(Class.java:2764)
at java.lang.Class.getMethod(Class.java:1653)
at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)
Caused by: java.lang.ClassNotFoundException: javax.media.opengl.GLCanvas
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 18 more
logout
[Process completed]
Last login: Tue Jul 30 19:33:57 on ttys000
/Users/Christo/Downloads/HnH_Ender_x64/haven\ copy ; exit;
Christos-MacBook-Air:~ Christo$ /Users/Christo/Downloads/HnH_Ender_x64/haven\ copy ; exit;
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:792)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2521)
at java.lang.Class.getMethod0(Class.java:2764)
at java.lang.Class.getMethod(Class.java:1653)
at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)
Caused by: java.lang.ClassNotFoundException: javax.media.opengl.GLCanvas
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 18 more
logout
[Process completed]
-
jonglobe
- Posts: 75
- Joined: Sat Feb 18, 2012 8:39 pm
Re: Setting up H&H on Mac
Double post, my bad.
-
borka
- Posts: 9965
- Joined: Thu Feb 03, 2011 7:47 pm
- Location: World of Sprucecap
Re: Setting up H&H on Mac
To be honest i have no clue ... and atm i can't surf around as my volume is used up and i'm at 3G GPRS speed...
I wonder whether a classpath command (-cp) would help - but i also have no clue how it has to be written for Mac OSX ...
probably this example is totally wrong - it's only to give a picture about what i'm thinking of, so i guess it doesn't make sense to run it...
I wonder whether a classpath command (-cp) would help - but i also have no clue how it has to be written for Mac OSX ...
probably this example is totally wrong - it's only to give a picture about what i'm thinking of, so i guess it doesn't make sense to run it...
Code: Select all
#!/bin/bash
cd `dirname "$0"`
java -Djava.library.path="/Users/Christo/Downloads/HnH_Ender_x64/" -cp "/Users/Christo/Downloads/HnH_Ender_x64/gluegen-rt.jar":"/Users/Christo/Downloads/HnH_Ender_x64/jogl-all.jar":"/Users/Christo/Downloads/HnH_Ender_x64/gluegen-rt-natives-macosx-universal.jar":"/Users/Christo/Downloads/HnH_Ender_x64/jogl-all-natives-macosx-universal.jar"-d64 -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.seAvatar 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
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
-
jonglobe
- Posts: 75
- Joined: Sat Feb 18, 2012 8:39 pm
Re: Setting up H&H on Mac
Thanks for all your help Borka, HasseKebab and cobaltjones - I think we will have to call it a day and realise that Macs are stupid 
-
borka
- Posts: 9965
- Joined: Thu Feb 03, 2011 7:47 pm
- Location: World of Sprucecap
Re: Setting up H&H on Mac
One last Information i'd like to get from you atm : What Macbook with what OSX version?
Look into this thread once in a while - i'll try to get a solution
Look into this thread once in a while - i'll try to get a solution
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
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
-
jonglobe
- Posts: 75
- Joined: Sat Feb 18, 2012 8:39 pm
Re: Setting up H&H on Mac
MacBook Air mid-2013, 13". OSX 10.8.4. Thanks Borka!
-
jonglobe
- Posts: 75
- Joined: Sat Feb 18, 2012 8:39 pm
Mac Client
Hi,
Is there a modified client of Haven for Macs? I have followed instructions in various threads on how to modify Enders to run on Mac and they haven't worked, so I was wondering if there was a client that doesn't need modifying etc? Alternatively, can someone point me in the direction of how to try and 'make' a client (or at least add some features)? Thank you!
Is there a modified client of Haven for Macs? I have followed instructions in various threads on how to modify Enders to run on Mac and they haven't worked, so I was wondering if there was a client that doesn't need modifying etc? Alternatively, can someone point me in the direction of how to try and 'make' a client (or at least add some features)? Thank you!
-
HasseKebab
- Posts: 1782
- Joined: Sun Mar 06, 2011 8:59 pm
Re: Mac Client
HasseKebab wrote:Download latest ender+uppdate
and do the followingHasseKebab wrote:1. Make sure you're running java 6
2. open texteditor and write this inside itCode: Select all
#!/bin/bash
cd `dirname "$0"`
java -d32 -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./res
3. save it as SOMETHING.command - Inside the custom client folder
4. Run the command by double clicking it.
5. Enjoy
If you get errors, post the error log here!

