on 01-08-2007 3:39 PM
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
Hi Keant
Richt click on Studio icon and go to Shortcuts and check whether the target is set to <b>"C:\Program Files\SAP\IDE\IDE70\eclipse\SapIde.exe" -vm "C:\j2sdk1.4.2_09\bin\javaw.exe"</b> or not. If that is correct then it works fine.
Regards,
Jhansi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai kent,
In NWDS>window>preferences>java>installedjres
click add
JreType-STANDARD VM
jrename -j2sdk1.x.x
jrelocation -c:\j2sdk1.x.x
check the check box below press ok restart ur studio
regards,
Naga Raju
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kent,
After installing the JDK set the sytem variable <b>JAVA_HOME to C:\j2sdk1.4.2_09.</b> As u have j2sdk1.4.2_09 there no problem with the version compatibility also.While installing the NWDS make sure that it is taking the java path that u have set already.
If u have already installed then try to check the path of jdk that NWDS has taken.
Regards,
Jhansi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.