cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to run JSPM tool - JRE version error

Former Member
0 Kudos

Hi All,

I was trying to proceed Java Stack SP upgrade for our PI 7.1 EHP1 server.

But im not able to run JSMP tool (Go.bat). facing the below JRE error (system detected JRE version is 1.5).

ERROR:

Microsoft Windows [Version 5.2.3790]

(C) Copyright 1985-2003 Microsoft Corp.

C:\Documents and Settings\DPIADM>d:

D:\>cd D:\usr\sap\DPI\DVEBMGS00\j2ee\JSPM

D:\usr\sap\DPI\DVEBMGS00\j2ee\JSPM>go.bat

Current log directory is D:\usr\sap\DPI\DVEBMGS00\j2ee\JSPM\log\log_2011_03_22_1

6_27_57.

Execution failed: Java Runtime version 1.5.0_26 detected. JSPM requires Java Run

time 1.6.0 or later to run.

com.sap.sdt.util.diag.DiagException: Java Runtime version 1.5.0_26 detected. JSP

M requires Java Runtime 1.6.0 or later to run.

at com.sap.sdt.jspm.main.Jspm.checkJVMVersion(Jspm.java:223)

at com.sap.sdt.jspm.main.Jspm.initialize(Jspm.java:206)

at com.sap.sdt.jspm.main.Jspm.main(Jspm.java:317)

D:\usr\sap\DPI\DVEBMGS00\j2ee\JSPM>

But, when i checked the Java version in CMD prompt it is showing JRE 1.6 only installed.

C:\Documents and Settings\DPIADM>java -version

java version "1.6.0_24"

Java(TM) SE Runtime Environment (build 1.6.0_24-b07)

Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)

C:\Documents and Settings\DPIADM>

Can one pls help me to solve this issues at the earliest, so that i can proceed with Java stack SP upgrade.

Thanks in Advance.

Thanks

AS.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Ahmed,

I think you have multiple JAVA installed on your server..check to see if any thing is pointing towards java 1.5 version.

Regards

Uday

Former Member
0 Kudos

No, i didnt installed mutliple java.

only one

Thanks

AS

Former Member
0 Kudos

Did you check jdk path in instance.properties file?

Regards, Premlesh

sivakumar_kilari3
Active Contributor
0 Kudos

Hi ,

How many java versions you installed?

Thanks

Siva

Former Member
0 Kudos

Hi Ahmed,

Please check about java version in system info page.

Please check if this is correct.

Regards,

Premlesh

Former Member
0 Kudos

Hi

I checked the Java version in CMD prompt it is showing JRE 1.6 only installed.

C:\Documents and Settings\DPIADM>java -version

java version "1.6.0_24"

Java(TM) SE Runtime Environment (build 1.6.0_24-b07)

Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)

Thanks

AS

JPReyes
Active Contributor
0 Kudos

Did you check your env variables to see what the JAVA_HOME?...

Check where is jstartup/vm/home pointing to

Regards

Juan

Former Member
0 Kudos

Hi

Here it is...

JAVA_HOME

C:\Java\jre6\bin

Thanks

AS

JPReyes
Active Contributor
0 Kudos

What about the parameter?...

sunny_pahuja2
Active Contributor
0 Kudos

No Cross Posting please...Read Rule of Engagement...

JPReyes
Active Contributor
0 Kudos

Cross-post removed, thanks Sunny

@Ahmed, please read the "Rules of Engagement".

Regards

Juan

Former Member
0 Kudos

Hi Juan,

What parameter?

Thanks

AS