cancel
Showing results for 
Search instead for 
Did you mean: 

JDK Detection failed at installation

patelyogesh
Active Contributor
0 Kudos

At the time of installation sapinst try to compile .java files under Z:\usr\sap\<SID>\DVEBMGS21\work

And its unable to compile files and this is what error showing in dev_jcontrol

________________________________________________________________________________________

[Thr 5880] Thu Nov 12 11:02:25 2009

[Thr 5880] *** ERROR => JStartupIGetJDKInfo: Cannot find Java class file [./JdkDetection_8936.class]. [jstartxxi.c 1017]

[Thr 5880] *** ERROR => can't get JDK information (rc = -1) [jstartxxi.c 1256]

[Thr 5880] **********************************************************************

      • ERROR => JDK Detection failed.

      • Please see SAP Note 943602 , section 'JDK detection issues'

      • for additional information and trouble shooting.

**********************************************************************

[Thr 5880] *** ERROR => can't read bootstrap node properites (rc=-1) [jcntrxx.c 1282]

[Thr 5880] JControlCloseProgram: started (exitcode = -1)

[Thr 5880] JControlCloseProgram: good bye... (exitcode = -1)

__________________________________________________________________________________________

Any Idea What is wrong?

We already talk to SAP Support they are also looking on this error might someone already solve this error can help me.

Please and thanks

Regards,

Yogesh

Accepted Solutions (1)

Accepted Solutions (1)

Diggeshhjoshi
Contributor
0 Kudos

Yogesh,

Have you looked at SAP Note Note 940893. This note talks about steps to resolve for problem related to JDK Detection issue.

- Digesh Joshi

patelyogesh
Active Contributor
0 Kudos

Hello,

Our Basis team already check that note and there is no solution found for this issue yet.

But thanks for reply.

Yogesh

Diggeshhjoshi
Contributor
0 Kudos

Yogesh,

If this is not production system, I would give a try by following:

stop SAP System completely including database, uninstall JDK and reinstall JDK and restart SAP.

Thanks,

Digesh

patelyogesh
Active Contributor
0 Kudos

Hello,

We already try everything possible solution with this error.

Still no luck.

Let me explain what setup we have

Multiple SAP system per box and this is in MSCS + distibuted installation.

Thanks

Yogesh

martin_juen2
Contributor
0 Kudos

Hi.

What is your Java Version? Can you try to find out? On Unix you can do that with command "java -fullversion".

It should be something like 1.4.2 SR 13...

Maybe your environment variables do not point to the java directory.

Can you describe which OS you use?

regards,

Martin

Former Member
0 Kudos

Sapinst stopped at step 35 (or 36) - "Start Java engine"

jcontrol would not start and dev_jcontrol shows this error message - "JdkDetection_nnnn.class not found"

Our environment:

Windows 2003

Oracle 10.2.0.4

Solution Manager 7.01 EhP1 SR3

JDK - 1.4.2_24 rev-b06

JAVA_HOME=D:\java\j2sdk1.4.2_24

ORACLE_HOME=D:\oracle\SID\102

SAPEXE=D:\usr\sap\SID\SYS\exe\uc\NTAMD64

checked SAP notes:

943602 Analysis of errors within the startup of J2EE Engine 7.0

940893 Analysis of errors within the startup of J2EE Engine 6.40

718901 How to change the JDK of the J2EE Engine

817991 Startup Framework fails when starting a JLaunch process

741289 Profile parameters of the J2EE Engine are lost

943498 J2EE Engine does not start 6.40 and 7.0

There were some solutions that suggested giving "ALL" permissions to the SIDADM and SAPServiceSID users to the disk drives that we are installing the software on - we did that as well, but it did not help us. Java engine won't just start. jcontrol would just die with the same error.

After spending enormous number of hours sifting through very few documents found on this error - I got fed up and here is what I did when I got the "JdkDetection_nnnn.class not found" error:

1. Logged in to the server as SIDADM

2. Opened a windows command prompt

3. ran this command -- jcontrol pf=D:\usr\sap\SID\SYS\profile\SID_DVEBMGS00_hostname

4. waited for 15mins

5. Restarted sapinst

6. Continued successfully

I am thinking that jcontrol was having a difficult time to start for the first time at Step 35 (or 36) during sapinst. When I started it on the command line with just the profile as the parameter - it pulled in all the required configuration from the database and started the dispatcher and server successfully. After that - installation went on smoothly.

Hope this helps.

Sri

Answers (0)