Set JAVA_HOME (case-sensitive) environment variable in the job that starts tomcat. I typically set the variable and run java in a qshell script and run the script from the QSH command. When you installed tomcat, in the /bin directory there's a catalina.sh file that's there to set envirionment variables and run the java command that starts tomcat. Copy it over and modify it as necessary. Run your copy from the QSH command.
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of tim.dclinc@xxxxxxxxx
Sent: Wednesday, April 25, 2012 7:00 PM
To: Midrange Systems Technical Discussion
Subject: java flavors quetion
I am running v5r4m0. I have the following installed on my box:
5722JV1 8 J2SE 5.0 32 bit
5722JV1 10 Java SE Devopement Kit 6
5722JV1 11 JSE 6 32 bit
I installed a tomcat server on my iseries. When i run java -version i get:
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20111020 (SR13 )) IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 OS/400 ppc-32 j9vmap3223sr13-20111020 (JIT enabled) J9VM - 20111017_92807_bHdSMr JIT - 20110916_20782_r8
GC - 20110524_AA)
JCL - 20111019
Im trying to understand what i need installed. Do i need 5722jv1 opt 8 if i have opt 10 installed?
Im developing apps using EGL using JDK 1.6. I would like to be able to run this on the tomcat server, but not sure what i need to do.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l