Prerequisite:
- Your mac has OSX 10.4 (Tiger) running.
- Logged in with administrator privilege.
Warning: This procedure is neither confirmed by apple, nor thoroughly tested by anyone. Also, following procedure makes use of root privilege to modify some directory structure of the system, which can make critical change to system. Therefore, please apply the following procedure only if you understand the explained procedure completely and accepts the potential damage that can be caused.
Procedure:
- Download J2SE 5.0 release 1 for Tiger.
- Install downloaded package.
- Open Terminal.app
$ sudo su- Type in your password (not root password)
# cd /System/Library/Frameworks/JavaVM.framework/Versions# mv CurrentJDK CurrentJDK.old# ln -s ./1.5.0 ./CurrentJDK# ls -l CurrentJDKif it looks like “CurrentJDK -> ./1.5.0”, you’re all set.
Update: Official update of Java5 is provided by Apple now. Please use it instead.