Follow these instructions if Java 1.5 is not installed or not the default version of Java on your Mac.
- Make sure that OS X version 1.4 or greater is installed.
- Is Java 1.5 installed? Open a Terminal window, and type the following:
ls -l /System/Library/Frameworks/JavaVM.framework/Versions
If 1.5 is among the versions listed, then the correct version is already installed.
If not, then obtain (and install) Java 1.5 from
Apple Support.
-
Configuration Step 1: set your Java Preferences.
From the Finder, open Applications->J2SE5.0->Java Preferences.app.
Here you can set Java 1.5 as your default web start version. When the Java
Preferences window appears, choose these settings:
- Use version: J2SE 5.0
- Java Application Runtime Settings: make sure that J2SE 5.0 is on top.
-
Test your installation with this small
web start program.
-
Configuration Step 2: update your Java Version Path.
Please beware! If the 'sudo' command is
new to you, do not attempt this command -- instead seek help from your
systems administrator. These operations are discussed
here
and here.)
cd /System/Library/Frameworks/JavaVM.framework/Versions
ls -l
sudo rm CurrentJDK
sudo ln -s 1.5.0 CurrentJDK
-
Test this change in a Terminal shell:
java -version
It should now report version 1.5 or greater.