CurrentJDK link - Check and Fix Tip
CurrentJDK link - Check and Fix Tip
- Subject: CurrentJDK link - Check and Fix Tip
- From: Kieran Kelleher <email@hidden>
- Date: Wed, 11 Aug 2004 09:54:42 -0400
When I was configuring XCode 1.5 index template to see the java
classes, I discovered to my great surprise that I have both 1.4.1 and
1.4.2 java versions on my dev machine and that the CurrentJDK symbolic
link was pointing to the 1.4.1 version. I am surprised because I have
been meticulous about following the upgrades for Java, WO and OS X
keeping in line with all "advice" about compatability and upgrade
sequences as outlined in Tech Notes. This email is a tip that shows you
how to check your installation and correct it if you find the same
problem that I did.
# First, cd into the Java Versions directory
% cd /System/Library/Frameworks/JavaVM.framework/Versions
# Then list contents
% ls -al
# the output should look something like this:
total 16
drwxr-xr-x 10 root wheel 340 24 Sep 2003 .
drwxr-xr-x 10 root wheel 340 10 Aug 17:19 ..
drwxr-xr-x 3 root wheel 102 10 Jan 2004 1.2
drwxr-xr-x 3 root wheel 102 10 Jan 2004 1.3
drwxr-xr-x 8 root wheel 272 24 Sep 2003 1.3.1
drwxr-xr-x 4 root wheel 136 6 Dec 2003 1.4.1
drwxr-xr-x 8 root wheel 272 10 Jan 2004 1.4.2
drwxr-xr-x 5 root wheel 170 10 Jan 2004 A
lrwxr-xr-x 1 root wheel 1 10 Aug 17:19 Current -> A
lrwxr-xr-x 1 root wheel 5 10 Aug 16:18 CurrentJDK -> 1.4.2
# If the CurrentJDK points to 1.4.2 (as shown here since I fixed it
yesterday), then you are OK. If 1.4.1 exists (which it should not since
1.4.2 installer was supposed to replace it!) and if CurrentJDK ->
1.4.1, then you need to fix the symbolic link using this command
%sudo ln -fhsv 1.4.2 CurrentJDK
I hope this helps someone.
-Kieran
________________________________________________________________
Dev Config = OS X 10.3.4 / Java 1.4.2_03 / WO 5.2.3 / XCode v1.5 /
MySQL 4.0.20 / Connector-J 3.0.11
Deploy Config = OS X 10.3.4 Server / Java 1.4.2_03 / WO 5.2.3 / MySQL
4.0.20 / Connector-J 3.0.11
My Blog: http://webobjects.webhop.org/
Meet other WO Developers at http://webobjects.meetup.com
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.