Hi Jeremy, Thanks for the prompt reply . unfortunately i tried doing all that you mentioned but did'nt help. I have downloaded the j2sdk-1_4_1_02-solaris-sparcv9.tar.Z executable and unpacked it and added the packages SUNWj3dmx SUNWj3dvx SUNWj3rtx . Then Automatically it has created the folder /usr/j2se. In .profile file i added the path /usr/j2se/bin/sparcv9(this is where the executables are) then in JAVA_HOME=/usr/j2se . What is baffling me is when i look at the documentation it tells me to add the packages SUNWj3rt SUNWj3dev SUNWj3man SUNWj3dmo after unpacking the executable i downloaded.
Any thing new i have to lookup or am i doing something wrong some where. Please help Aparna -----Original Message----- From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 10:04 AM To: 'Tomcat Users List' Subject: RE: Error while trying to stop and start the tomcat 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]