on 12-09-2009 10:27 AM
Hi all,
we r installing sap ECC sr3 with ABAPJAVAEP+EPCore DB oracle OS Solaris 5.10 on X86 64bit, but during installation it ask for JDK directory , in this Directory two version of Java are already instaalted j2sdk1.4.2_16 & jdk1.5.0_17. we have also installed an other version of Java in this Directory j2sdk1.4.2_24.
but this accepting only jdk1.5.0_17. when we continue with this version then a messege box appear
The JDK installed in directory /usr/jdk/instances/jdk1.5.0 has version 1.5.0_17. The SAP software is validated for versions less then 1.5.0_00 only.
You can use a JDK with version 1.5.0_00 or higher at your own risk. SAP recommends that you use a JDK with a minimum version 1.4.2_09 but lower than version 1.5.0_00.
You can select a different JDK by choosing Ok. If you want to go on with this JDK, choose Cancel.
plz guide how we will resolve that issue
Regards
Imran
> we r installing sap ECC sr3 with ABAPJAVAEP+EPCore DB oracle OS Solaris 5.10 on X86 64bit, but during installation it ask for JDK directory , in this Directory two version of Java are already instaalted j2sdk1.4.2_16 & jdk1.5.0_17. we have also installed an other version of Java in this Directory j2sdk1.4.2_24.
Usually you have one directory per JAVA_HOME.
You have to point to the 1.4.2_24 one, 1.5 is not supported.
And it's not recommended to install combined ABAP + Java instances any more.
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
we have install another Java version 1.4.2_19 in usr/j2se/j2sdk1.4.2_19, when point to this directory then messege appear
Directory /usr/j2se/j2sdk1.4.2_19 is not a valid JDK directory: execution of "/usr/j2se/j2sdk1.4.2_19/bin/java -classpath /tmp/sapinst_exe.10593.1260353111/JAR/ins-j2ee.jar -d64 com.sap.ins.j2ee.GetSystemProperty" finished with return code 1.
Regrads
Imran
>
root@sapprd # cd /usr/j2se/j2sdk1.4.2_19/
>
> root@sapprd # java -version
> java version "1.5.0_17"
> Java(TM) Platform, Standard Edition for Business (build 1.5.0_17-b04)
> Java HotSpot(TM) Server VM (build 1.5.0_17-b04, mixed mode)
This is not the command I posted.
The current directory is not in the PATH so even if you do "cd /usr/j2se/j2sdk1.4.2_19" it will not pick the java in the directory but the Java it fins in your PATH. You can check using
which java
which java is execduted.
So please execute
/usr/j2se/j2sdk1.4.2_19/java -version
Markus
>
root@sapprd # which java
> /usr/bin/java
>
>
> r
oot@sapprd # /usr/j2se/j2sdk1.4.2_19/bin/java -version
> java version "1.4.2_19"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_19-b04)
> Java HotSpot(TM) Client VM (build 1.4.2_19-b04, mixed mode)
So here you see that it's picking up a different Java if you don't give the full PATH.
You installed apparently only the Java Runtime for 1.4.2_19 and not the full JDK, that's why sapinst is failing and stopping the installation.
I usually do the following:
- Download the correct JDK (Note 716604 - Access to Sun J2SE and recommended J2SE options) - see the link
- I use the "sh" file and copy it to /opt
- execute the script as "sh <file.sh>"
- create a soft link (e. g. ln -s /opt/j2fb1.4.2_24 /opt/java1.4)
- set the environment for root as "JAVA_HOME=/opt/java1.4 && export JAVA_HOME)
- then start sapinst from that shell and point to /opt/java1.4 if asked for the JDK
Markus
Markus
from this site http://www.sun.com/software/javaforbusiness/sap_download.jsp
we have download "Java for Business 1.4.2 Java Developer Kit" by selecting update 24 version b06
copy it in /opt
so now we install it in this way
cd /opt
#./j2sdkfb-1_4_2_24-solaris-amd64.sh
......
....
yes
this will install it in /opt
is this enough?
or this is not complete version ?
> we have installed EP & EP core successfully with ABAP+JAVA.
As I said before, a combination of ABAP + Java is not recommended. It adds a hard dependency between the support package levels, I hope you're aware of that.
> now plz guide me , EP post installation steps and related SAP note ?
What do you intend to do with the EP? What scenario you're going to implement?
Markus
Can you please tell me how did you resolve this error.
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
I have got the same error after installing the java1.4.2_24 in solaris x64.
i would really appreciate if u could help me in this.
Thanks in advance
Prakash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.