on 08-26-2008 6:48 PM
Hello frnds,
I am getting the follwing error when i am building a ESS DC after few small changes.
I also defined Environment Variable JAVA_HOME = C:\j2sdk1.4.2_14. Still getting the following error.
Error: C:\Documents and Settings\ABC\.dtc\0\DCs\sap.com\ess\ben\_comp\gen\default\logs\build.xml:155: 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.
Thanks
Shobhan
Hi,
Do as follows
From the NWDS
Select Window->Preferences...->Java->Installed JREs
Add your JDK path to the table.
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Frnds,
Thanks for all suggetions. I resolved it following way.
The main issue was i was having only JRE installed on my system. No JDK was there.
So NWDS was not able to compile anything. I did installed J2SDK and gave the JRE Reference under Windows -- preferences.. however it didn't solved the issue.
I went ahead and uninstalled and reinstalled NWDS with JDK reference.
Its working fine now.
Thanks
Shobhan
Please provide the text of build.xml file.
Also try after putting "C:\j2sdk1.4.2_14\bin" in PATH environment variable, I guess it wouldn't affect but give it a try.
Jawed Ali
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.