SAP TechEd Discussions
Join the conversation around SAP TechEd! Discuss details of technical sessions and workshops and anything else conference related.
cancel
Showing results for 
Search instead for 
Did you mean: 

wrong java version specified

Former Member
0 Kudos

Hi

i am new to net weaver during installation .I specified the wrong version of java(i had 2 versions installed in the system 1.3 and 1.4)now i would like to change it to 1.4 .as i have problems running "C:\usr\sap\J2E\JC00\j2ee\admin\go.bat"..could some body please help

2 REPLIES 2

Former Member
0 Kudos

Hi,

What you need to do is to fix your JAVA_HOME environment variable. If you already defind it to the correct version of Java, you can hardcode in the go.bat file as following:

@if DEFINED JAVA_HOME (

set JAVA_CMD="%JAVA_HOME%\bin\java"

) else (

echo WARNING Environment variable JAVA_HOME not set, try to launch java from current PATH

set JAVA_CMD="<<your java home installation directory>>\bin\java"

)

good luck,

Chao-sheng

0 Kudos

Hi

It works fine now thanks....