Setting up H&H on Mac

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

Moderator: Phades

User avatar
cobaltjones
Posts: 2725
Joined: Tue Dec 07, 2010 1:27 am

Re: Setting up H&H on Mac

Post by cobaltjones »

I'm trying to remember how I set up Enders on Mountain Lion, since you won't be able to access to Java control panel.

I think I remember adding a flag to the batch file in order to have it select the correct version (32bit/64bit)

This is what my run.bat file looks like

Code: Select all

cd Documents
cd Haven
java -d32 -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./res
jonglobe
Posts: 75
Joined: Sat Feb 18, 2012 8:39 pm

Re: Setting up H&H on Mac

Post by jonglobe »

Is that run.bat or run.command?
User avatar
cobaltjones
Posts: 2725
Joined: Tue Dec 07, 2010 1:27 am

Re: Setting up H&H on Mac

Post by cobaltjones »

It doesn't matter as long as you set it to open with Terminal.
jonglobe
Posts: 75
Joined: Sat Feb 18, 2012 8:39 pm

Re: Setting up H&H on Mac

Post by jonglobe »

It won't run properly with -d32, it just says it isn't supported by the Java VM. When I change it to -d64 (as per earlier instructions) it just throws the same error as previously.
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 »

What about running the default client (Play Button) just to determine that you have a working Java?
Also it downloads the needed jogl and libaries to Java Cache ...

?
Java 7 Control Panel on Mac
The Control Panel allows you to find information about Java version and configure various settings to help you efficiently run Java on your Mac.

To launch the Java Control Panel on Mac OS X (10.7.3 and above):

Click on Apple icon on upper left of screen.
Go to System Preferences
Click on the Java icon to access the Java Control Panel.

http://www.java.com/en/download/faq/java_mac.xml
jonglobe
Posts: 75
Joined: Sat Feb 18, 2012 8:39 pm

Re: Setting up H&H on Mac

Post by jonglobe »

The original client works, but even after going on it the Enders client doesn't work and throws the same error message. :/
jonglobe
Posts: 75
Joined: Sat Feb 18, 2012 8:39 pm

Re: Setting up H&H on Mac

Post by jonglobe »

The Java Control Panel isn't accessible in OS X System Prefs unless you have Java 7 (I've read), and I was told to down-grade to Java 6.
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 »

Ok - one thing we know: default works - so there is a running Java :D

Maybe i missread something - what Java version in what Bit is it now? :?

Ender_x32 with Java 32 Bit or Ender_x64 with Java 64 Bit
jonglobe
Posts: 75
Joined: Sat Feb 18, 2012 8:39 pm

Re: Setting up H&H on Mac

Post by jonglobe »

Last login: Tue Jul 30 17:48:56 on ttys000
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)

Would suggest 64-bit (and so I've been using 64 bit Enders) but I have tried 32 bit too.
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 »

Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)


1.7 is Java 7 otherwise it would state 1.6 which stands for Java 6, 64-Bit Server VM states a 64 Bit Virtual Machine version

latest Java 7 64 Bit

Return to “The Wizards' Tower”