I installed WASCE v2.1.1.3 after setting the included IBM Java 6 SDK on the PATH. Then I tried running gserviceReg.sh to install as a service.
That script failed, but the error message returned says, in part: "A Java implementation could not be found on the system PATH".
Anybody know if this should work, or if I'm just misinterpreting the documentation (again)?
As you can see by the output below, Java is set on the PATH, and it can be found:
login as: root
root@wasce01.teamhuber.com's password:
Last login: Thu Oct 29 09:20:17 2009 from 10.1.1.127
[root@wasce01 ~]# echo $PATH
/opt/ibm/java-i386-60/bin:/opt/ibm/java-i386-60/jre/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
[root@wasce01 ~]# java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxi3260sr5-20090529_04(SR5))
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260sr5-20090519_35743 (JIT enabled, AOT enabled)
J9VM - 20090519_035743_lHdSMr
JIT - r9_20090518_2017
GC - 20090417_AA)
JCL - 20090529_01
[root@wasce01 ~]# cd /opt/IBM/WebSphere/AppServerCommunityEdition/bin/
[root@wasce01 bin]# ./gserviceReg.sh add wasce
ERROR: Could not find a Java runtime.
- Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
- A Java implementation could not be found on the system PATH
At least one of these is required for this program to execute.
After setting Java on the PATH for WASCE installer, its kinda kludgy if I have to set something else for the service installer.
Also, I'd really like to know what the script does with the Java it finds. Is that what it sets the service to use when running WASCE?
All this JRE scavenger hunt is really frustrating, so I'm taking the time to work out the most simple way to do this for a fresh WASCE install.