Gabe , Downloaded java and installed it , path is set as per IBm doc and is showing . Still catalina.sh and startup.sh is complaining about the path .
[cemcp62]/usr/apache-tomcat-6.0.14/bin>which java /usr/java6_64/sdk/bin/java [cemcp62]/usr/apache-tomcat-6.0.14/bin>java -version java version "1.6.0-internal" Java(TM) SE Runtime Environment (build pap6460-20070819_01) IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460-20070817_13537 (JIT enabled) J9VM - 20070817_013537_BHdSMr JIT - dev_20070817_1300 GC - 20070815_AA) [cemcp62]/usr/apache-tomcat-6.0.14/bin> [cemcp62]/usr/apache-tomcat-6.0.14/bin>./catalina.sh -run Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environment variable is needed to run this program [cemcp62]/usr/apache-tomcat-6.0.14/bin>./startup.sh Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environment variable is needed to run this program [cemcp62]/usr/apache-tomcat-6.0.14/bin>echo $PATH /usr/java6_64/sdk/bin:/usr/java6_64/sdk/jre:/usr/sbin/acct:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin:/usr/local/bin [cemcp62]/usr/apache-tomcat-6.0.14/bin> Gabe Wong <[EMAIL PROTECTED]> 10/25/2007 11:26 AM Please respond to "Tomcat Users List" <users@tomcat.apache.org> To Tomcat Users List <users@tomcat.apache.org> cc Subject Re: help with apache-tomcat-6.0.14 install [EMAIL PROTECTED] wrote: > All, > > I downloaded apache-tomcat-6.0.14 .trying to install it on AIX5.3 . I am > not able to locate any install doc . So I have untarted tar file which > created directories below . I`m guessing that`s how u install it ? > when i try to start it I get java error Neither the JAVA_HOME nor the > JRE_HOME environment variable is defined. it`s in the path . > > I`m new to the apache-tomcat , please point to the documentation or give > me some tips . thanks > > > [cemcp62]/usr/apache-tomcat-6.0.14/bin>which java > /usr/java14/jre/bin/java > [cemcp62]/usr/apache-tomcat-6.0.14/bin> > 1)First it looks as though you have jdk 1.4 installed. You would probably need jdk5 or preferably jdk6. The download/install info for JDK for AIX can be found at the following URL: https://www14.software.ibm.com/iwm/web/cc/earlyprograms/ibm/java6/download.shtml 2)after installing JDK, add the following in the startup.sh script file: export JAVA_HOME=/usr/java/jdk1.6.0/ -- Regards Gabe Wong NGASI AppServer Manager Application server installation and configuration automation for Tomcat, JBoss, and Jetty. http://www.ngasi.com --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]