on 05-01-2009 12:55 PM
Dear All
I am getting an error while trying to build any dc in my development system.
May 1, 2009 7:30:54 AM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: App_dc: Build failed for App_dc(sap.com_App_SC_1) in variant "default": Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
I have checked that there are two JRE's are installed at my system. jre1.4.2_16 and jre1.5.0_06.
Same has been specified under the path Window --> Preferences --> Java --> Installed JRE.
Any idea about the cause and resolution of the error?
Regards
Vineet Vikram
Hi Vineet,
You PC may have JRE ,check whether JDK is installed or not.Need to install JDK .
After that right click on your NWDS icon on your desktop,Select Properties and in the Shortcit tab of Properties window ,check that the path of javaw.exe is correct or else provide the path of your <installed JDK root folder>\bin\javaw.exe
Let me know if it helps..It has for me
Regards
Priya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ensure that your NWDS is started with the VM from a JDK not only a JRE.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You probably need to set the JAVA_HOME variable in the Environment variables section.....and specify the path of JDK in the value....
Regards,
Shikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vineet:
As said by Armin, you must check whether WebDynpro (NWDS) is started with JDK.
And for setting-up (you must do this) the JAVA_HOME in environment variable:
Goto My Computer Properties (right-click) > Advance Tab > click on Environment Variables > add either in User or System Variables as below
"variable name: JAVA_HOME, variable value: path of jdk installed like 'c:/j2sdk1.4.2_X'"
Thanks,
MS
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.