on 05-17-2007 2:20 PM
Actually I was trying to Build one of the development component I developed I found the error given below
May 17, 2007 6:39:40 PM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: model: Build failed for sap.com/model(MyComponents) 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
Then I found JDK was not installed on my machine then I installed the JDK but it is giving same error yet, can any body help me to set the path or class pth so that I can be able to build my DC.
Thanks
Sandeep
Sandeep open a windows command prompt (start->run->cmd) and type "set" without the quotes. What is the value of JAVA_HOME?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Other things besides the NWDS might use the JAVA_HOME variable. To set it in windows right click on My Computer->properties->Advanced Tab->Environment Variables. Create a new System variable called JAVA_HOME and point it to the jdk directory. C:\j2sdk1.4.2_13 on my machine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The installed JDK is not specified in your IDE.
Go to Windows->Preferences-> Java->Installed JREs ... Give path to your JDK here.
Better give path to JDK not JRE, because build searches for compiler also.
Regards,
Ashwani Kr Sharma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sandeep,
Go to Window->Perspective->Java->Installed JRE.add ur jdk path here.It will work.
regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try this also.
Right click on shortcut to SapIde.exe. Go tp properties. In Target you must be having following
<b><<i>ide-installation-dir</i>>\eclipse\SapIde.exe -java</b>
Edit it to make :
<b><<i>ide-installation-dir</i>>\eclipse\SapIde.exe -java "<<i>JDKInstallation</i>>\bin\javaw.exe".</b>
Then use this shortcut to launch your IDE.
Regards,
Ashwani Kr Sharma
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.