Showing results for 
Search instead for 
Did you mean: 

cannot update build.xml

Former Member
0 Kudos

Everytime i edit the build .xml of a DC , whose configuration has been imported from the DTR, build .xml doesnt get edited. Basically the DC gives the following errors while building:

1)Unable to find a javac compiler;

2)Perhaps JAVA_HOME does not point to the JDK

While my local webDynpro components can easily be deployed with the same NWDS on the Sneak Preview 2004 SP18.

Any clue???? In the build.xml i am giving the reference of javac.

Accepted Solutions (1)

Accepted Solutions (1)

Active Contributor
0 Kudos


You don't have to edit any xml for dc build.

Ensure that in NWDS

- In installed jre's correct "jdk" is pointed to.

If it doesn't work do following:

Or in the shortcut (go to shortcut,right click to properties) to launch NWDS check that you have following added (in Target)

<b>-vm "<jdkinstallation>\bin\javaw.exe"</b> appended in the end.

Restart your NWDS using the shortcut.


Ashwani Kr Sharma

Answers (2)

Answers (2)

0 Kudos


Try this.

In the Window->preference->java->Installed JRE's, select the Installed JRE's. It will show a window in the right the Installed JRE and give edit.

In the JRE Home Directory give the path of the JDK1.4 Version.

Give Ok and restart your NDS and check it now

Former Member
0 Kudos


Dc will run in JDK1.4 only, it does not run in higher version like JDK1.5,JDK1.6 etc,

1)Install JDK1.4

2)In Desktop,Right click the NWDS then select the tab shortcut

3)In Target--->set your JDK1.4 path

example like this,

"C:\Program Files\SAP\IDE\IDE70\eclipse\SapIde.exe" -vm "C:\j2sdk1.4.2_14\bin\javaw.exe"