At 11:58 PM 5/25/04 +0200, Jan-Pieter van den Heuvel wrote: > >I'm trying to change the JVM Tomcat is using to Sun's JVM. I've installed >the J2SDK from Sun and have set the environment variable JAVA_HOME to >/usr/javaj2sdk1.4.2_04 in /etc/profile. But after restarting Tomcat it is >still using the JVM from the Free Software Foundation. >How do i change this to use the JVM from Sun? >
Type "env" from the command line. If your system is still accessing the old /etc/profile, you may need to restart it. Another possibility is that there are still some variables pointing to the old jdk from another script. It may be a terrible idea, but I've been setting my variables to point to /usr/local/java/JDK. "JDK" is a link to my current version of the j2sdk. This makes changing very easy as I just have to delete the old link and create a new one. I hope this helps Cindy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
