- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Java 1.5 on OS X 10.6
Thu, 2011-03-24, 17:18
In the light of recent build problems: for those with OS X 10.6, you can actually installJava 1.5 on your machine.
- Download "Java for Mac OS X 10.5 Update 9" from http://support.apple.com/kb/DL1359 - Download "Pacifist" from http://www.charlessoft.com/
- Mount the "JavaForMacOSX10.5Update9.dmg"- Open Pacifist, open the package "JavaForMacOSX10.5Update9.pkg" from the mounted volume
- Extract the subtree "/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0" (nothing else), use the administrator privileges
The thing only works if you move it to the expected location, so:
- On the System HD, navigate to "/System/Library/Frameworks/JavaVM.framework/Versions/"- Remove the symlinks "1.5" and "1.5.0"- Move the previously-extracted "1.5.0" here - "ln -s 1.5.0 1.5"
lucmac:~ luc$ /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home/bin/java -version java version "1.5.0_28"Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_28-b04-382-10M3326) Java HotSpot(TM) Client VM (build 1.5.0_28-157, mixed mode, sharing)
It won't show up in "Java Preferences" and probably won't be correctly integrated into all of the system, but it works fine on the console.
Lukas
- Download "Java for Mac OS X 10.5 Update 9" from http://support.apple.com/kb/DL1359 - Download "Pacifist" from http://www.charlessoft.com/
- Mount the "JavaForMacOSX10.5Update9.dmg"- Open Pacifist, open the package "JavaForMacOSX10.5Update9.pkg" from the mounted volume
- Extract the subtree "/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0" (nothing else), use the administrator privileges
The thing only works if you move it to the expected location, so:
- On the System HD, navigate to "/System/Library/Frameworks/JavaVM.framework/Versions/"- Remove the symlinks "1.5" and "1.5.0"- Move the previously-extracted "1.5.0" here - "ln -s 1.5.0 1.5"
lucmac:~ luc$ /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home/bin/java -version java version "1.5.0_28"Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_28-b04-382-10M3326) Java HotSpot(TM) Client VM (build 1.5.0_28-157, mixed mode, sharing)
It won't show up in "Java Preferences" and probably won't be correctly integrated into all of the system, but it works fine on the console.
Lukas