Originally Posted by gbhgbh
It says essentially the same thing;
-bash: /System/Library/Frameworks/JavaVM.framework/Commands/java: No such file or directory
However upon looking into this further, I think you've found the problem. When I run the command "ls -l /System/Library/Frameworks/JavaVM.framework/Commands" I get (among others);
lrwxr-xr-x 1 root wheel 28 25 Feb 17:09 Commands@ -> Versions/CurrentJDK/Commands
And when I run the command "ls -l /System/Library/Frameworks/JavaVM.framework/Versions" I get;
drwxr-xr-x 3 root wheel 102 30 Aug 2004 1.2/
drwxr-xr-x 3 root wheel 102 30 Aug 2004 1.3/
drwxr-xr-x 7 root wheel 238 24 Sep 2003 1.3.1/
drwxr-xr-x 8 root wheel 272 26 Jan 15:22 1.4.2/
drwxr-xr-x 5 root wheel 170 22 Apr 03:57 A/
lrwxr-xr-x 1 root wheel 1 25 Feb 17:10 Current@ -> A
lrwxr-xr-x 1 root wheel 5 25 Feb 17:10 CurrentJDK@ -> 1.4.1
I guess the problem is that the directory CurrentJDK is linked to 1.4.1 (which doesn't exist) instead of to 1.4.2. It seems the simple solution would be to run the commands
"sudo rm /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK"
and
"sudo ln -s /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2 /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK".
But I'm wondering if there are links anywhere else that are broken. It seems like I need to update this from 1.4.1 to 1.4.2 again. However as I said in the first post, the 1.4.2Update2 package would not let install again. Any advice on how to proceed from here?