Setting up H&H on Mac

Forum for alternative clients, mods & discussions on the same.

Moderator: Phades

Re: Setting up H&H on Mac

Postby jonglobe » Tue Jul 30, 2013 6:14 pm

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?
jonglobe
 
Posts: 75
Joined: Sat Feb 18, 2012 8:39 pm

Re: Setting up H&H on Mac

Postby borka » Tue Jul 30, 2013 6:31 pm

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
Code: Select all
#!/bin/bash
cd `dirname "$0"`
java -d64 -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se


or
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
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Setting up H&H on Mac

Postby jonglobe » Tue Jul 30, 2013 7:35 pm

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]
jonglobe
 
Posts: 75
Joined: Sat Feb 18, 2012 8:39 pm

Re: Setting up H&H on Mac

Postby jonglobe » Tue Jul 30, 2013 7:35 pm

Double post, my bad.
jonglobe
 
Posts: 75
Joined: Sat Feb 18, 2012 8:39 pm

Re: Setting up H&H on Mac

Postby borka » Tue Jul 30, 2013 11:20 pm

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...

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.se
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: Setting up H&H on Mac

Postby jonglobe » Wed Jul 31, 2013 8:37 am

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 :roll:
jonglobe
 
Posts: 75
Joined: Sat Feb 18, 2012 8:39 pm

Re: Setting up H&H on Mac

Postby borka » Wed Jul 31, 2013 2:57 pm

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
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: Setting up H&H on Mac

Postby jonglobe » Wed Jul 31, 2013 5:41 pm

MacBook Air mid-2013, 13". OSX 10.8.4. Thanks Borka!
jonglobe
 
Posts: 75
Joined: Sat Feb 18, 2012 8:39 pm

Mac Client

Postby jonglobe » Wed Aug 14, 2013 5:42 pm

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!
jonglobe
 
Posts: 75
Joined: Sat Feb 18, 2012 8:39 pm

Re: Mac Client

Postby HasseKebab » Wed Aug 14, 2013 6:35 pm

HasseKebab wrote:Download latest ender+uppdate
and do the following


HasseKebab wrote:1. Make sure you're running java 6
2. open texteditor and write this inside it

Code: 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!
Image
      Image
JOIN THE OFFICIAL H&H DISCORD TODAY

♰ PROUD FORUM MODERATOR 02.01.2024 - 05.10.2024 ♰
User avatar
HasseKebab
 
Posts: 1766
Joined: Sun Mar 06, 2011 8:59 pm

PreviousNext

Return to The Wizards' Tower

Who is online

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