Monday, September 6, 2010

runInstaller failed because of java version mismatch

Enable a debug level trace on the Installer and upload the resultant trace to find the root cause of behaviour.

./runInstaller -logLevel trace -debug /-J-DTRACING.ENABLED=true -J-DTRACING.LEVEL=2/

The trace will be written to oraInventory/logs , kindly upload the same once you reproduce the issue .

3.) Enable a system level trace on the DV installer and upload the trace .

truss -aefo ./runInstaller
- OR -
strace -fo ./runInstaller

upload the output file .

I think the java mismatch version comes when the code is compiled from a different version than the JVm used.


Please do below:

a. check which java are you using on the server currently:
% which java

then check its version
% java -version


b. Check the database JDK version
% cd $ORACLE_HOME/jdk/bin
% ./java -version


If a & b are different version, then please follow:

(1) Set the PATH with $ORACLE_HOME/jdk/bin
% export PATH=$ORACLE_HOME/jdk/bin:$PATH


(2) Re-check the issue.

I hope issue will bypass the java mismatch

No comments:

Post a Comment