on 09-29-2005 6:15 PM
When building a Development component I get an error
file:.../build.xml:63: 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
This only happens on DC's but not on local projects.
JAVA_HOME IS set!
What could be wrong? (Using SP13 and j2sdk1.4.2_08 )
Even I faced the same problem.
I dont know the actual problem. But I fixed this by copying all the files and folders in "<b>j2sdk1.4.2_07</b>" to the "<b>C:\Program Files\Java</b>" folder.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks saravanan
DC's are compoling but it is giving warning
'No 'default' JDK_HOME_PATH defined, will use running VM. Please update your configuration.
ERROR: failed to parse public part file list
The java classpath variables in NWDS is perfectly setup.
Then why this warning is coming from ?
Best Regards
Ananda
Hi Ananda,
I can comment only after seeing the entire stacktrace.
Thanks
Saravanan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
if you are building DCs with JAPRO please change your JAVA_HOME to a folder not having blanks in the path, because this confuses JAPRO.
I.e. C:\Program Files\Java will not work because of the blank between Program and Files. Install the JDK to a path without blanks, e.g. C:\Java.
Regards,
Vedran
But projects without DC are running .
I have uninstalled & reinstalled NWDS but same error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
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.