Skip to Content
author's profile photo Former Member
Former Member

Build fails in some DC's - JAVA_HOME error?

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 )

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 04, 2005 at 06:09 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • author's profile photo Former Member
    Former Member
    Posted on Oct 03, 2005 at 12:16 PM

    But projects without DC are running .

    I have uninstalled & reinstalled NWDS but same error.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 05, 2005 at 04:59 AM

    Hi Ananda,

    I can comment only after seeing the entire stacktrace.

    Thanks

    Saravanan.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.