on 2009 Dec 21 12:07 PM
Hi,
I want to install SAP on solaris. I´ve installed de j2sdk 1.4.2_23 and declare it the Environment variable JAVA_HOME to this directory but I do java -version I get this
root@host # java -version
java version "1.5.0_21"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_21-b01)
Java HotSpot(TM) Server VM (build 1.5.0_21-b01, mixed mode)
What can i do?
Request clarification before answering.
Hello Ruben,
Please do echo $JAVA_HOME and double check.
Also please check if there are two directories under /opt:
java1.4 and java.1.5
Regards.
Ruchit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ruben,
java -version would show the higher version of java however the installation would go with environmental variable value which is 1.4.2 in your case. That is the one you should use. Would not be an issue. I agree with Juan and can also say based on experience.
Anyways when you are using java -version which directory are you in ?
Regards.
Ruchit Khushu.
Hi Ruben,
Just checked JAVA installation notes for Solaris.Apparently /usr/java is the default location. In case you already haven't just check this link to verify if the JAVA installation has been done properly:
[JAVA on Solaris|http://java.sun.com/j2se/1.4.2/install-solaris.html]
Regards.
Ruchit.
The directory /usr/java is pointing to j2sdk 1.5.0. I declared the environment variables JAVA_HOME and SAPINST_JRE_HOME and always get the error.
When i execute the ./sapinst I get this :
/sapinst2/sapinst_exe.14521.1261595928/jre/bin/java* -Xmx256M -Dsap.env.var.javahome=SAPINST_JRE_HOME -cp /sapinst2/sapinst_exe.14521.1261595928/JAR/instgui.jar SDTServer rootdir=//.sdtgui config=jar:sdtserver.xml guiport=21212 httpport=4239 -nolock -srvarg=/SAPinstService/host=localhost -srvarg=/SAPinstService/port=21200 guistart=off
I push the path of java and get this message
Directory /usr/j2sdk1.4.2_23 is not a valid JDK directory: the java executable is missing.
I saw in this directory that are file missings.
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.