cancel
Showing results for 
Search instead for 
Did you mean: 

Directory /usr/java14_64/jre/bin is not a valid JDK directory

Former Member
0 Kudos

Dear All,

We are installing SAP Solution Manager 4.0 on AIX 5L and Oracle. This is being installed on a single system. The Java Version is as follows :-

java version "1.4.2"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build caix64142ifx-20070924{SR9 + 120478 + 119973 + 121859 + 122167 + 122541 + 123718} (JIT enabled: jitc))

Path is set as follows :-

PATH=/usr/java14_64/jre/bin:/usr/java14_64/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/dt/bin:/usr/bin/X11:/sbin:

We have copied all the SAP Solution Manager 4.0 DVD onto the hard disks. The DVDs are of SR2.

While running 'sapinst' from the directory

/cddump/SM_AIX_DVD/Master/IM_AIX_PPC64

we are getting the following message in the log file.

INFO 2008-01-23 15:00:18

Execute step setDefaults of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost

System|ind|ind|ind|ind|1|0|NWgetJavaHome|ind|ind|ind|ind|1|0.

INFO 2008-01-23 15:00:18

CJSlibModule::writeInfo_impl()

Directory /usr/java14_64/jre/bin is not a valid JDK directory: the java executable is missing.

WARNING 2008-01-23 15:00:18

CJSlibModule::writeWarning_impl()

Could not determine a valid JAVA_HOME directory from the environment.

NOTE : Following is the extract of the environment variables :-

SAPINST_JRE_HOME=/usr/java14_64/jre/bin

XFORCE_INTERNET=True

DISPLAY=130.0.110.67:0.0

SHELL=/usr/bin/ksh

ODMDIR=/etc/objrepos

JAVA_HOME=/usr/java14_64/jre/bin

I am running the installation as user 'root'.

If any one of you have faced such a problem kindly update me.

Your help will be really appreciated.

Regards,

Accepted Solutions (1)

Accepted Solutions (1)

MichaelTe
Contributor
0 Kudos

Hello,

try setting the environment variable JAVA_HOME to /usr/java14_64

and make sure you have a valid JDK installed (not only a JRE).

Regards, Michael

Answers (3)

Answers (3)

Former Member
0 Kudos

Dear Michael,

Changing the environment variables of SAPINST_JRE_HOME and

JAVA_HOME to /usr/java14_64 helped me to go ahead with the installation.

Thank you very much.

Regards,

Former Member
0 Kudos

Dear Michael,

Today i shall try with /usr/java14_64 and give you all the feedback.

Regards,

Former Member
0 Kudos

Hi Shirish,

As the log you have given it says that it cannot find the java_home

path.This should be set as JAVA_HOME=<drive>\<java dir>

eg:- JAVA_HOME=c:\j2sdk1.4.1.

And also set another variable called JAVA_LIB=<drive>/<javadir>/bin

Create a new environment variable with nameJAVA_HOME and set the path.

This should solve your problem.

Reward Points if helpfull.

Regards,

Vamshi.