I am trying to execute a shell script with path set to Java 1.3 and classapth set to some custom java classes. After runing the script the command java -version is showing that I am at version 1.1.8 which is the default one and also the classpath is not set. Where am I going worng ?? .. Interestingly the script is showing as Java 1.3 when I queried PATH in the script. Please check my script below -
when the script is run --
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 ca131ifx-20040721a SR7P (JIT enabled: jitc))
Where Am I doing wrong ?? .. Please help me ..