How to install Java 1.5 on Mac OS X 10.6 Snow Leopard?
In order to install Java 1.5 on Mac OS X 10.6 Snow Leopard, please follow these steps.
Execute the following commands in the terminal:
1. Get the java 5 that was included in 10.5 "leopard" and unpack:
curl -o java.1.5.0-leopard.tar.gz
tar -xvzf java.1.5.0-leopard.tar.gz
2. Move it to your System java folder (password needed):
sudo mv 1.5.0 /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0-leopard
3. Tell OS X that java 5 actually is java 5:
sudo rm 1.5.0
sudo ln -s 1.5.0-leopard 1.5.0
sudo rm 1.5
sudo ln -s 1.5.0 1.5
After these commands, Java 1.5 will be installed. You can check Java 1.5 on Java Preferences dialog (open "/Applications/Utilities/Java Preferences.app")
Change the properties to use Java 1.5 32-bit on MagicDraw. Open file "mduml.properties"*, which is located in /bin and change path in line JAVA_HOME=.
The line should look like:
* If you are using MagicDraw 17.0.5 or later, the name of the property file is magicdraw.properties.