cancel
Showing results for 
Search instead for 
Did you mean: 

JAVA error in Dialog instance installation

Former Member
0 Kudos

Dear Experts,

Dear All,

We are having SAP ECC6.0(ehp4).Going for installation of Dialog instance. During pre-requisite check,system throwing JAVA error. Is there any standard document, how to set jAVa variables, What would be the standard path?. Below are output of commands to analysis this issue.We get this error whenever go for fresh instalation.  Please help.....

1)which java

/usr/bin/java

2)java -version

java version "1.4.2"

Java(TM) 2 Runtime Environment, Standard Edition (build 2.3)

IBM J9 VM (build 2.3, J2RE 1.4.2 IBM J9 2.3 Linux amd64-64 j9vmxa64142ifx-20110628 (JIT enabled)

J9VM - 20110627_85693_LHdSMr

JIT  - 20090210_1447ifx5_r8

GC   - 200902_24)

3) env

JAVA_BINDIR=/usr/lib64/jvm/jre/bin

JAVA_HOME=/usr/lib64/jvm/jre

JAVA_ROOT=/usr/lib64/jvm/jre

JRE_HOME=/usr/lib64/jvm/jre

4) /usr/lib64/jvm> ls  -l

java-1_4_2-ibm-1.4.2

jre -> /etc/alternatives/jre

jre-1.4.2 -> /etc/alternatives/jre_1.4.2

jre-1.4.2-ibm -> java-1_4_2-ibm-1.4.2/jre

jre-ibm -> /etc/alternatives/jre_ibm

5)/usr/bin> ls -l | grep java

java -> /etc/alternatives/java

javaclassname

javawrapper

javawswrapper

Thanks

Sumit

Accepted Solutions (1)

Accepted Solutions (1)

Reagan
Advisor
Advisor
0 Kudos

Hello

No need to switch to SAP JVM for this installation.

The error message is Current version: JAVA_HOME not available

The installer is unable to check the current version of java installed on the system.

Please set the environment variable for the user under which you are starting the installation and start the installation again.

NB: Take this into consideration : Do NOT use version 1.4.2_10

Note 867110 - Developer Workplace Installation for SAP NetWeaver 7.0

Cheers

RB

Former Member
0 Kudos

  Hi All,

Java_home variable is correctly set . Problem solved

Reagan
Advisor
Advisor
0 Kudos

Good Morning

The solution was provided in my previous reply and you just need to implement it.

Cheers

RB

Answers (1)

Answers (1)

nicholas_chang
Active Contributor
0 Kudos

Hi,

Where you plan to install DI? is it the same host as CI?

Please ensure correct JDK (based on your OS) is used for fresh installation of DI.

Check note:

Note 723909 - Java VM settings for J2EE 6.40/7.0

Note 716927 - Overview of AIX JVM for NetWeaver 2004 and 7.0 (2004s)

Former Member
0 Kudos

Dear Nicholas,

Above mentioned note ain't helpful..... Host is different for CI & DI.

We have Suse Linux enterprise server11 @ patch level2

Error is below.....

Please help.....

Thanks

Sumit...

Former Member
0 Kudos

Hi Sumit,

   SAP is recommending to use SAPJVM  else you MIGHT need to move to SAPJVM later. Please refer the Note 1495160 - SAP JVM as replacement for Partner JDKs 1.4.2

So to be on safter side, why dont you use SAPJVM  now itself?

To install SAPJVM Please follow the below steps.

1. Download SAPJVM4 from service.sap.com/swdc

2.Uncar and put it in /sapmnt/SID/exe/sapjvm4

3. Set the JAVA_HOME environmental variable path to /sapmnt/SID/exe/sapjvm4

If you are using a java stack, please use the Note 1603093 - SAP JVM 4.1 parameters NetWeaver 2004 and 7.0

Please check and provide your feedback.


Thanks and Regards,

Vimal

Former Member
0 Kudos

  Hello Vimal,

Ours is ABAP instance.... as we are installing DI. & u saying install it in NFS mount point...

1)Will it impact our CI environment...

2) We have already CI,DB(Cluster services), one dialog instance. But have never used SAPJVM.

     Is it safe to use SAPJVM....

3) any adverse effect , if we dont use SAPJVM,,,,

Please suggest....

Thanks

Sumit...

Former Member
0 Kudos

Hi Sumit,

     Yes. You can use SAPJVM in your DI.

Here you have two choices.

1. Either you can use SAPJVM for your DI , CI , ASCS .

2. If not, you can copy the java folder from your CI to DI and try to make the JAVA_HOME pointing to copied java location.

Check what is the java version in your CI and try to use the same version in your DI also...

CI java version as well as DI java one should be equal..Else you MIGHT face issues later.

Thanks and Regards,

Vimal