You can add "Environment Variables" such as "JAVA_HOME" to your .bash_profile in Linux or by right clicking the "My Computer" icon on your desktop and going to "Properties".
---Linux--- 1) Open your .bash_profile with your favorite text editor. 2) Add "export JAVA_HOME=/install/path/" (Replace "/intall/path/" with your path to your installation. Ex. /usr/java/java1.3.1_07/) ---Windows--- 1) Right-click "My Computer and go to "Properties" 2) Go to "Advanced" and then to "Environment Variables" 3) Under "System Variables", click "New..." and set "Variable Name" equal to "JAVA_HOME" and "Variable Value" equal to "Path to Installation" (Replace "Path to Installation" with the path to your SDK installation, not JRE. Ex. "C:\Java\Java2SDK\") Hope this helps, Jeremy -----Original Message----- From: Aparna Narla [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 10:00 AM To: 'Tomcat Users List' Subject: Re: Error while trying to stop and start the tomcat Hi, have recently updated the jdk 1.2 with jdk 1.4 which comes with installing j2se. I am trying to stop and start the tomcat service at $TOMCAT_HOME/bin/startup.sh i am getting the following error.... The JAVA_HOME environment variable is not defined correctly This environment variable is needed to run this program Any suggestions on what i should be checking to correct this problem. Please Help. You help is much aprreciated. Aparna. -----Original Message----- From: Jacques Capesius [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 9:54 AM To: 'Tomcat Users List' Subject: RE: importing jdom.jar into Tomcat Shapira, Yoav wrote: > Howdy, > Put it in the WEB-INF/lib directory of the webapp where the JSP is. > And make sure that's the only copy of jdom in your server: take it > out of common/classes and server/lib. > > Yoav Shapira > Millennium ChemInformatics > awesome! that did the trick! thanks a million! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]