<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
have you tried restarting your shell?<br>
<br>
Jan-Pieter van den Heuvel wrote:
<blockquote cite="mid015401c44329$cc7caf20$0264a8c0@janpieter"
type="cite">
<meta http-equiv="Context-Type"
content="text/html; charset=iso-8859-1">
<div> Hi, </div>
<div> </div>
<div> I'm having a problem changing the JVM that Tomcat uses from the
one from the Free Software Foundation to the one from Sun. I've
installed the J2SDK1.4.2_04 from Sun and have added the JAVA_HOME
environment variable ( = /usr/java/j2sdk1.4.2_04) to /etc/profile. But
after restarting Tomcat, it still uses the JVM from the Free Software
Foundation. How can I change this? </div>
<div> When i use the command 'env' i can see that the JAVA_HOME
environment variable is present and pointing to the correct location. </div>
<div> </div>
<div> Thanks in advance, </div>
<div> </div>
<div> Jan-Pieter van den Heuvel </div>
<div> </div>
<div> My system: Fedora Core 1, Tomcat 4.1.27. </div>
</blockquote>
</body>
</html>