on 05-16-2011 2:29 PM
Hi,
I am using NWDS7.0 sp18 , installed JREs is j2sdk1.4.2_09 .
I am trying to build a Development Component, but Build is getting failed .
Error: Build stopped due to an error: 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 also added the environmental Variables JAVA_HOME with value as C:\j2sdk1.4.2_09 .
Could you all please suggest the solution for the build error.
Thanks a lot in advance.
Thanks & Regards,
Anil
Hi,
to me it seems like your NWDS is running on a JRE and NOT on a JDK.
Setting JAVA_HOME does not help here.
Try the following:
Create a shortcut to your NWDS (SapIde.exe) on your desktop.
Edit the properties of that shortcut and edit the target.
Add the path to your JDK here by use of the "-vm" parameter
See my example:
C:\IDESP18\IDE70\eclipse\SapIde.exe -vm "C:\Program Files (x86)\Java\jdk1.6.0_20\bin\javaw.exe"
You may notice that I am using JDK 1.6 but your 1.4 version should of course work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.