on 04-15-2008 12:29 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks all
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.