cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

NWDS cannot find Java Virtual Machine

Former Member
0 Likes
2,487

I just installed Developer Workspace (SAP NetWeaver 2004s SR2 (SP9)

) in my another laptop.

When I try to launch NWDS, I got the following message:

A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java Virtual Machine was found after searching the following locations:

3\bin\javaw.exe

But I have jdk 1.4.09 in my C;\ and set the environment variable:

In sytem variable, I set:

JAVAHOME = C:\j2sdk1.4.2_09

and Path: C:\j2sdk1.4.2_09\bin

The problem not solved with these config.

Thanks for advise.

KEnt

View Entire Topic
0 Likes

Hi Kent,

i would suggest you re-install your JDK.

Maybe it is a typo, but the environment variable is JAVA_HOME and not JAVAHOME.

If you are sure your JDK is installed correct, you can also try to start the Developer Studio from the installation path with this command:

<b>Example</b>

SapIde.exe -vm c:j2sdk1.4.2_09binjavaw.exe

Regards,

Martin

Former Member
0 Likes

Hi, Martin.

I can launch NDWS in MS-DOS with the command you provide.

After launching the NWDS, I check the JDK properties:

(Go to: Preference -> Java -> Installed JRE)

Here is the property:

JRE Type: Standard VM

Name: j2sdk1.4.2_09

Location: c:\j2sdk1.4.2_09

Seems like it is correct.

So, where should I go to fix the problem?

Thanks

Kent

Former Member
0 Likes

Hi Kent,

Try this: open the IDE installation folder and open the file "vm.parameters" with a text editor. Add one entry "-Ddefault=c:\j2sdk1.4.2_09" and save the file. Now open your IDE.

Regards,

Satyajit.

Former Member
0 Likes

Hi,

add the following line as part of your short cut.

-vm "C:\jdk1.5.0_07\bin\javaw.exe"

Ex:"C:\Program Files\SAP\IDE\IDE71\eclipse\SapNetweaverDeveloperStudio.exe" -vm "C:\jdk1.5.0_07\bin\javaw.exe"

Inside SapNetweaverDeveloperStudio.ini check for the entry

-DJDK.1.5.0_HOME=C:\jdk1.5.0_07

Modify the contents according to your system.

Regards

Ayyapparaj