cancel
Showing results for 
Search instead for 
Did you mean: 

NWDI Build in Errors

Former Member
0 Kudos

hi,

i am getting following error while trying to activate the activities in NWDI:

Ant runtime 12.375 seconds

Ant build finished with ERRORS

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

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

Build plugin finished at 2009-12-02 10:19:58 GMT+05:30 (IST)

Total build plugin runtime: 13.609 seconds

Build finished with ERROR

pls guide me to resolve trhe issue.

Regards,

Pavani

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Pavani,

1. You need to Point the JAVA_HOME to the JKD Installed on your system.

You need to navigate to the eclips folder under the folder where NWDS is installed for you and then under that make similar entry in the VM file where you need to point correct JAVA_HOME Path.

2. Also check if your studio is pointing to relevent installed JREs. You can attain this by navigating to Window>Preferences>Java>Installed JREs and browse to the required J2sdk version.

Regards,

Tushar Sinha

Former Member
0 Kudos

Did you run the post installation process?

It seems that the CBS has some missing parameters.

You should also set the JAVA_HOME property on the NWDI server (windows property)