cancel
Showing results for 
Search instead for 
Did you mean: 

unable to build DC

Former Member
0 Kudos

Hi all,

i am not able to build a DC in NWDS.

can anyone plz help.

the exact error

-


-


Build log -


Development Component Build (2008-04-15 16:49:07)

Component name: wd/rm/err

....

....

....

[wdgen] [Info] Generation finished (2 seconds)

[wdgen]

[timer] WebDynpro generator finished in finished in 2.5 seconds

[echo] Starting Java compiler

[javac] Compiling 54 source files to C:\Documents and Settings\sreddy\.dtc\LocalDevelopment\t\A9D9D03525424DE649CACA048DB518B0\classes

Ant runtime 3.766 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 2008-04-15 16:49:12 GMT+05:30 (IST)

Total build plugin runtime: 4.297 seconds

Build finished with ERROR

-


Thanks & Best regards,

Sudheer

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Its clear from the error environemnt variable JAVA_HOME is not set.

"Perhaps JAVA_HOME does not point to the JDK"

If you are using the Ide set this using

Window->Preferences->Java->Installed JRE's

Regards

Ayyapparaj

Former Member
0 Kudos

Hi Ayyapparaj,

The path you have mentioned is for JREs

Please give me detailed explanation on how to set JAVA_HOME variable

Regards,

Sudheer

Answers (3)

Answers (3)

Former Member
0 Kudos

thanks all

Former Member
0 Kudos

Hi Sudheer,

Give a Try with this,

- Right Click on your DC and choose Properties,

- Then Java Build Path,

- Click on "Libraries" Tab,

- Click on "Add Library" tab (positioned on right hand side),

- Choose JRE System Library, click Next

- In JRE Drop down choose the installed j2sdk (eg : (default) j2sdk1.4.2_12) or create a new one if this is not available in dropdown.. and click finish...

Thanks & Regards

Ramesh

Former Member
0 Kudos

Hi Ramesh,

i have done what you told but with no success again.

this is imp to me.

regards,

Sudheer.

Former Member
0 Kudos

Hi all,

thanks for the effort.

i have solved it by un-installing and re-installing the NWDS as it was urgent and as a last resort.

Regards,

Sudheer.

Former Member
0 Kudos

Hi,

You can set the JAVA_HOME in MyComputer.

1. Right Click MyComputer

2. Select Properties

3. Select Advanced

4. Select Environment Varibles

5. Select JAVA_HOME if available or select new and enter JAVA_HOME

6. In Varible value give the path of your java folder like C:\j2sdk1.4.2_09

Regards,

Srinivasan

Former Member
0 Kudos

Hi Srinivasan,

i have already done this but with no success.

Regards,

Sudheer