on 01-23-2008 9:58 AM
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,
Pai,
Lets check some quick things before going into deep detail.. When you do a 'which java', what comes up from that query?
If this comes back as /usr/java14_64/bin/java then your JAVA_HOME should be /usr/java14_64 and not /usr/java14_64/jre. You seem to have two points in your path where the java executable could be so it is interesting to figure out where it really is.
Thanks for the feedback.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear David,
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,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear David,
I get the following :-
which java
/usr/java14_64/jre/bin/java
Today i shall try with /usr/java14_64 and give you all the feedback.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is an AIX environment, correct?
Can you do the command
"which Java" and see where it is looking.
Then go to that directory and issue the command java -version to make sure java is talking. Check the permissions of the Java files. I believe when you run sapinst as root, other id's are created and the install is actual performed on a different id. <sid>adm or SapService<sid>. Those id's will need access to the Java versions as well. Although, I would think that the Java install itself should have set the permissions correctly.
Another test would be to su - <sid>adm and goto the java directory found by the which command and enter the java -version command to make sure it's not a permission issue.
Are these drives that your installing to standard AIX filesystems?
Lee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Lee,
Yes, i am able to run the command java -version from that directory.
Thank you .
Regards,
Dear David,
As advised i had tried both /usr/java14_64/jre and /usr/java14_64/jre/bin.
With /usr/java14_64/jre, i get the message 'java executable not found'.
Thank you.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do not put /bin on the end of your Java Home varibles. Variable should look like:
/usr/java14_64/jre
and not like
/usr/java14_64/jre/bin
If this solves your problem, please set the thread to answered.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
with your root id are you able to go into that directory and run the command java -version successfully?
Lee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.