Mac Clients: How to install 32bit Java 1.6 on 10.4 & 10.5

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

Moderator: Phades

Mac Clients: How to install 32bit Java 1.6 on 10.4 & 10.5

Postby Phades » Wed Mar 30, 2011 4:45 am

Some people are not able to use the 32bit clients for MAC because they aren't running Snow Leopard. This could be fixed by writing the 64bit versions of the Mac Client. However, I don't use a Mac. In fact, I've never even turned on an Apple computer besides an Iphone or Ipod. So, that's out of the question.

However, since I'm one of the most resourceful fucks on the planet, I've decided to give it a go and create a work-around. Now, keep in mind that this is un-tested since I don't own a Mac and never plan to. So, I'll need some feedback from you Apple-jacks. This is based on information I've found on the net while drinking corona. Let me know how it works out for ya's:

* Download either the 32-bit JDK SoyLatte 1.0.3 for Mac OS X 10.4 and 10.5 or the 32bit Open JDK6 soylatte
----> 32-bit JDK for Mac OS X 10.4 and 10.5: soylatte16-i386-1.0.3.tar.bz2
----> 32-bit OpenJDK6 Beta 1 for Mac OS X 10.4 and 10.5 (Beta Release): openjdk6-b16-24_apr_2009-r1.tar.bz2
* Unzip the package and put the entire directory where you want it
* Optional: rename the folder to soylatte16-1.0.3
* Add the soylatte16-1.0.3/bin path to your $PATH variable to use soylatte rather than the JDK 1.5 that comes installed
* Fire up a terminal session and type “java -version
(to open the Terminal application. Open it by going to the Applications/Utilities folder, and double-clicking on the Terminal application.)

If everything worked out, you should see something similar to:

java version "1.6.0_03-p3"
Java(TM) SE Runtime Environment (build 1.6.0_03-p3-landonf_03_feb_2008_02_12-b00)
Java HotSpot(TM) Server VM (build 1.6.0_03-p3-landonf_03_feb_2008_02_12-b00, mixed mode)

Troubleshooting:

Watch the video first:


How to open the Terminal application:
Open it by going to the Applications/Utilities folder, and double-clicking on the Terminal application.


How do I set the path?
First get the full path to the soylatte16-i386-1.0.3/bin directory depending upon where you extracted it. Let's say that this is the path I have on my computer:

/Users/someperson/javashit/soylatte16-i386-1.0.3/bin

Next, add the full path to the soylatte bin directory to the .profile like this:

export PATH=/Users/bsnyder/soylatte16-i386-1.0.3/bin:$PATH

Save the .profile. Then open a new tab in the Terminal and type 'java -version'. You should see the Java version command's output.


If you get a message saying that you had a later version of Java installed then you should do the following:
Open up a terminal, and go to: /System/Library/Frameworks/JavaVM.framework/Versions/A

Now move the Resources folder away for a minute:
sudo mv Resources Resources.SAVE

Start the installer BUT DON’T INSTALL YET. All we are trying to do is get past the stupid roadblock. Once you see that installation is going to be permitted. Move the Resources folder back to its original position:
sudo mv Resources.SAVE Resources

And now, you can complete your install.


Programs still use Java 5:
You must remember that you should go to /Utilities/Java/Java SE 6 and reset the Java Preferences to use SE6 otherwise it will default to SE 5.
-Diadems of Odditown
Odditown loves you no matter what.
User avatar
Phades
 
Posts: 352
Joined: Tue Jan 25, 2011 9:07 pm

Re: Mac Clients: How to install 32bit Java 1.6 on 10.4 & 10.5

Postby bluebarilicious » Wed Mar 30, 2011 5:19 pm

The language has apparently changed slightly since '09, so I had to use the command open -a TextEdit .profile to access the $PATH.
Once I got that done I did the java -version, saw that it was running the SoyLatte version and was super proud of myself.
However, I re-attempted to DL the enderMac32 client and this fun batch of nonsense is what I got:

Last login: Wed Mar 30 12:15:03 on ttys000
bari-rubinsteins-macbook-pro:~ bluebarilicious$ /Users/bluebarilicious/Desktop/DLs/enderMac32/run.command ; exit;
Exception in thread "Haven main thread" java.lang.UnsatisfiedLinkError: no jogl in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1701)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at com.sun.opengl.impl.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:189)
at com.sun.opengl.impl.NativeLibLoader.access$000(NativeLibLoader.java:49)
at com.sun.opengl.impl.NativeLibLoader$DefaultAction.loadLibrary(NativeLibLoader.java:80)
at com.sun.opengl.impl.NativeLibLoader.loadLibrary(NativeLibLoader.java:103)
at com.sun.opengl.impl.NativeLibLoader.access$200(NativeLibLoader.java:49)
at com.sun.opengl.impl.NativeLibLoader$1.run(NativeLibLoader.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.opengl.impl.NativeLibLoader.loadCore(NativeLibLoader.java:109)
at com.sun.opengl.impl.x11.X11GLDrawableFactory.<clinit>(X11GLDrawableFactory.java:101)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at javax.media.opengl.GLDrawableFactory.getFactory(GLDrawableFactory.java:111)
at javax.media.opengl.GLCanvas.chooseGraphicsConfiguration(GLCanvas.java:520)
at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:131)
at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:90)
at haven.HavenPanel.<init>(HavenPanel.java:63)
at haven.MainFrame.<init>(MainFrame.java:125)
at haven.MainFrame.main2(MainFrame.java:238)
at haven.MainFrame.access$100(MainFrame.java:34)
at haven.MainFrame$6.run(MainFrame.java:291)
at java.lang.Thread.run(Thread.java:619)
logout

[Process completed]


There's a smell like something is burning, and I'm pretty sure its my head, so I'm going to put this away for now... and take some Tylenol.
"You only ever is in the eyes of other people." - Rant Casey
User avatar
bluebarilicious
 
Posts: 44
Joined: Sat Sep 04, 2010 6:20 pm
Location: FL

Re: Mac Clients: How to install 32bit Java 1.6 on 10.4 & 10.5

Postby sabinati » Wed Mar 30, 2011 5:27 pm

can you post the contents of your run.command
User avatar
sabinati
 
Posts: 15513
Joined: Mon Jul 13, 2009 4:25 am
Location: View active topics

Re: Mac Clients: How to install 32bit Java 1.6 on 10.4 & 10.5

Postby bluebarilicious » Wed Mar 30, 2011 11:40 pm

#!/bin/bash
cd `dirname "$0"`
java -d32 -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./res

That came with the DL. I changed nothing.
"You only ever is in the eyes of other people." - Rant Casey
User avatar
bluebarilicious
 
Posts: 44
Joined: Sat Sep 04, 2010 6:20 pm
Location: FL

Re: Mac Clients: How to install 32bit Java 1.6 on 10.4 & 10.5

Postby bluebarilicious » Fri Apr 08, 2011 3:52 pm

Epilogue: I'm no programmer, but it seemed for a while that whatever I did wasn't letting me even access the H&H site, let alone play, modded client or otherwise. For some magical mac reason I can now use the regular client again, but will be relying on the PC for the buttery satisfying pleasure of Ender's amazing client.

Thanks to Phades and Sabinati for working with my :?: .
"You only ever is in the eyes of other people." - Rant Casey
User avatar
bluebarilicious
 
Posts: 44
Joined: Sat Sep 04, 2010 6:20 pm
Location: FL

Re: Mac Clients: How to install 32bit Java 1.6 on 10.4 & 10.

Postby samual82 » Fri Jul 15, 2011 12:17 pm

i too have the identical problem as the previous fellow, my readout is identical

i have a macbook pro at version 10.5.8 leopard

it had no .profile file, nor a .bash_profile etc...... i had alot of trouble finding out.. Nothing! about why this was, except that someone had success y creating these files and inputting the line

Export PATH=/users/username/soylatte-1.0.3/bin/:$PATH

something like that, dont worry i got the line accurate in the files, i put it in both a brand new .bash_profile and a .profile and after opening a new window in terminal and typing java -version, voila it showed 1.6 finally


then i go to run the game, all anticipation....... and it was like someone had laid a Mr Whippy classic dog turd on my birthday cake
I'll lost a small portion of my soul to this problem... is there something i'm missing? and if so what is it?
samual82
 
Posts: 83
Joined: Thu Jun 17, 2010 11:57 pm

Re: Mac Clients: How to install 32bit Java 1.6 on 10.4 & 10.

Postby samual82 » Sat Jul 16, 2011 11:40 pm

fixed, by upgrading leopard to snowleopard

that seems to have fixed all the java nonsense

dont try to put 32bit java 6 on a 10.5. machine, it cant be done, not without sacrificing some vital and unethical part from an orphan child along with a few strands of tape from the original recording of one of those hideous stephanie myers movies
samual82
 
Posts: 83
Joined: Thu Jun 17, 2010 11:57 pm

Re: Mac Clients: How to install 32bit Java 1.6 on 10.4 & 10.

Postby delfer8 » Tue Feb 05, 2013 8:57 pm

Open up a terminal, and go to: /System/Library/Frameworks/JavaVM.framework/Versions/A

Now move the Resources folder away for a minute:
sudo mv Resources Resources.SAVE

Start the installer BUT DON’T INSTALL YET. All we are trying to do is get past the stupid roadblock. Once you see that installation is going to be permitted. Move the Resources folder back to its original position:
sudo mv Resources.SAVE Resources

And now, you can complete your install.


Sorry for be a stupid but, what installer?, i did all things before you say: Start the installer BUT DON’T INSTALL YET.
I dont find the installer or dont know how to open them. I need help whith that.
Thank you.
Be nice, the woods are aware of you.


W3 and 4 Hermitage
W5 Emberwood and Kirribilli, PANDEMONIUM
W6 MIRROR LAKE
W7 Tkearns village
W10 F&I
W12 BROLAND, Weasel's Blue Boar Inn, Grimmhold retirement
W13 Monke Spanish plot
W14 Kakariko village Druid
W15 Into the deep woods


Where are you Weasel!?!?
User avatar
delfer8
 
Posts: 402
Joined: Wed Nov 24, 2010 11:31 am
Location: Halt Peril's outpost

Re: Mac Clients: How to install 32bit Java 1.6 on 10.4 & 10.

Postby borka » Tue Feb 05, 2013 9:31 pm

soylatte or OpenJDK prolly?

You might tell which ...

You know how to open a tar.bz2 ?!? http://hints.macworld.com/article.php?s ... 3002631675
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: Mac Clients: How to install 32bit Java 1.6 on 10.4 & 10.

Postby delfer8 » Tue Feb 05, 2013 10:48 pm

borka wrote:soylatte or OpenJDK prolly?

You might tell which ...

You know how to open a tar.bz2 ?!? http://hints.macworld.com/article.php?s ... 3002631675


I used Soylatte and no, idk how to open a tar.bz2 :/
what do i do now?
Be nice, the woods are aware of you.


W3 and 4 Hermitage
W5 Emberwood and Kirribilli, PANDEMONIUM
W6 MIRROR LAKE
W7 Tkearns village
W10 F&I
W12 BROLAND, Weasel's Blue Boar Inn, Grimmhold retirement
W13 Monke Spanish plot
W14 Kakariko village Druid
W15 Into the deep woods


Where are you Weasel!?!?
User avatar
delfer8
 
Posts: 402
Joined: Wed Nov 24, 2010 11:31 am
Location: Halt Peril's outpost

Next

Return to The Wizards' Tower

Who is online

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