On Mon, 3 Apr 2006 00:57:42 -0500, John B. Matthews wrote
(in article
<no**************************@network-065-024-007-028.columbus.rr.com>):
Indeed, when I installed j2se50release4dp7, CurrentJDK still pointed to
1.4.2. I'f there's a GUI to change it, i couldn't find it:-) Have a look
in
/System/Library/Frameworks/JavaVM.framework/Versions/
I had to link CurrentJDK to 1.5.0:
sudo rm CurrentJDK
sudo ln -s 1.5.0 CurrentJDK
With this setting, you should be able to use
JAVA_HOME=/Library/Java/Home or similar depending on your shell.
John
John,
Many thanks for the information.
I was able to link CurrentJDK to 1.5.0, but I am still having trouble
with Apache Tomcat 5.5+
Please permit me a few follow-on questions:
-> Where does one obtain j2se50release4dp7 ?
I went to the Apple Developers' web site, and saw a number of pages
dedicated to Java. However, the latest version that I found was
j2se50release3. I suspect that j2se50release4dp7 is only available
to "registered developers." (A Google search also turned up nothing
beyond "release 3".)
-> The specific error message that I get when I attempt to start up
Tomcat 5.5 (from within Eclipse/MyEclipse) is:
"This release of Apache Tomcat was packaged to run on J2SE 5.0
or later. It can be run on earlier JVMs by downloading and
installing a compatibility package from the Apache Tomcat binary
download page."
Your advice is to "use JAVA_HOME=/Library/Java/Home or similar
depending on your shell."
Which particular references to JAVA_HOME should I be modifying
or creating? I did a little browsing, and found quite a few
references
I very much appreciate your time and effort.
-- Ed