Setting up H&H on Mac

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

Moderator: Phades

jonglobe
Posts: 75
Joined: Sat Feb 18, 2012 8:39 pm

Setting up H&H on Mac

Post by jonglobe »

Hi,

I'm not sure if this is the right place for this question, but I have searched and I haven't found enough information anywhere else on how to do it. I have just bought a new MacBook and I can't work out how to get Haven started on it. I have tried all the instructions in threads years ago I found through search but to no avail; I have tried Java 6 and Java 7, downloading any missing libraries, editing run.bat/run.command... could anyone give me or point me in the right direction for a step-by-step guide on how to do it? ]

Thank you!
User avatar
HasseKebab
Posts: 1782
Joined: Sun Mar 06, 2011 8:59 pm

Re: Setting up H&H on Mac

Post by HasseKebab »

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

♰ PROUD FORUM MODERATOR 02.01.2024 - 05.10.2024 ♰
jonglobe
Posts: 75
Joined: Sat Feb 18, 2012 8:39 pm

Re: Setting up H&H on Mac

Post by jonglobe »

Now an even more basic question - how do I ensure Java 6 is installed? I've read through help files etc on the Java website, and I don't have Java 7 but when I check my Java version through Terminal I get this:

java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
User avatar
HasseKebab
Posts: 1782
Joined: Sun Mar 06, 2011 8:59 pm

Re: Setting up H&H on Mac

Post by HasseKebab »

Do this and you should have java 6

http://support.apple.com/kb/HT5559?viewlocale=en_US
 Image
      Image
JOIN THE OFFICIAL H&H DISCORD TODAY

♰ PROUD FORUM MODERATOR 02.01.2024 - 05.10.2024 ♰
jonglobe
Posts: 75
Joined: Sat Feb 18, 2012 8:39 pm

Re: Setting up H&H on Mac

Post by jonglobe »

I've followed the instructions, but when trying to run the .command file inside Ender's folder (for both x32 and x64 versions) I get this message:

Christos-MacBook-Air:~ Christo$ /Users/Christo/Downloads/HnH_Ender_x32/haven ; exit;
Error: This Java instance does not support a 32-bit JVM.
Please install the desired version.
logout
User avatar
HasseKebab
Posts: 1782
Joined: Sun Mar 06, 2011 8:59 pm

Re: Setting up H&H on Mac

Post by HasseKebab »

oh thats fucking annoying, found no fix on that so i removed java completley from my mac and took new java files from my friend's mac.
 Image
      Image
JOIN THE OFFICIAL H&H DISCORD TODAY

♰ PROUD FORUM MODERATOR 02.01.2024 - 05.10.2024 ♰
jonglobe
Posts: 75
Joined: Sat Feb 18, 2012 8:39 pm

Re: Setting up H&H on Mac

Post by jonglobe »

Oh... that's a pain then, guess I won't be playing Haven! Thanks for all your help :)
User avatar
HasseKebab
Posts: 1782
Joined: Sun Mar 06, 2011 8:59 pm

Re: Setting up H&H on Mac

Post by HasseKebab »

No dont leave yet, wait for the tech support (Borka)
 Image
      Image
JOIN THE OFFICIAL H&H DISCORD TODAY

♰ PROUD FORUM MODERATOR 02.01.2024 - 05.10.2024 ♰
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Setting up H&H on Mac

Post by borka »

when you check Java version through Terminal now what version does it state?
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
jonglobe
Posts: 75
Joined: Sat Feb 18, 2012 8:39 pm

Re: Setting up H&H on Mac

Post by jonglobe »

Christos-MacBook-Air:~ Christo$ java -version
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

Return to “The Wizards' Tower”