You may have a link problem after you installed java 1.3.1, in which you now need to link to /usr/bin.
Backup the old java from /usr/bin as follows:
cp /usr/bin/java /usr/bin/java.bckup
Then create the following link:
ls -s /usr/java131/jre/bin/java /usr/bin/java
Hope this helps.
Michael Webb, IBM Tivoli
Q1CA Distributed NetView / ITSA SVT
Email: mlwebb AT us.ibm DOT com
Ext: (919) 224-1410, T/L: 687-1410
"Maxime TRANNOY" <MTRANNOY AT fr.ibm DOT com>
"Maxime TRANNOY" <MTRANNOY AT fr.ibm DOT com>
Sent by: owner-nv-l AT lists.us.ibm DOT com
12/17/2003 05:46 AM
Please respond to nv-l
To: nv-l AT lists.us.ibm DOT com
cc:
Subject: [nv-l] Pb on CNAT installation
Hi,
i try to install CNAT on an AIX 5.1 server with jre 1.3.1 installed.
When i try to install smitty with CNAT i have the error :
ERROR: Pre-installation of the CNAT has FAILED.
A functional Java(tm) runtime is either missing, broken or not
in the path. You must first install a Java Runtime Environment
version 1.3.0 or newer, then you can install the CNAT.
instal: Failed while executing the CNAT.pre_i script.
I do not understand why because my jre package seems to be correctly
installed
root> lslpp -L |grep Java
Java131.rte.bin 1.3.1.11 C F Java Runtime
Environment
Java131.rte.lib 1.3.1.11 C F Java Runtime
Environment
root> java -version
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1)
Classic VM (build 1.3.1, J2RE 1.3.1 IBM AIX build ca131-20030630a (JIT
enabled: jitc))
root> type java
java is /usr/java131/jre/bin/java
root> type jre
jre is /usr/bin/jre
root> ln -l /usr/bin/jre
lrwxrwxrwx 1 root system 25 Dec 17 11:20 /usr/bin/jre ->
/usr/java131/jre/bin/java