on 03-18-2009 6:58 AM
Hi
when i try to build my DC iam getting deploment error saying that Perhaps JAVA_HOME does not point to the JDK Can you tell me what is this error.
thanks
rahul
Hi Rahul,
Can you please check whether the JAVA_HOME is pointing to teh JDK or not.. Please follow this step:
1) Right click on the "My computer" icon on your desktop.
2) Click on the Proerties.
3) Click on Advance tab.
4) Click on Enviornment Variables button.
5) In the System Variables there is variable named: JAVA_HOME..
Please check whether this is having the reference of your used JDK. If not then browse and set the value to the loction where you have your JDK. Most probably it will similar to this: C:\j2sdk1.4.2_08.
If you dont even have the JAVA_HOME variable then you can create the one and then set the value.
I hope this solves the issue.
Thanks nad Regards
Pravesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
refered document
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Add it under System variables
Moreover, JAVA_HOME should point to j2sdk folder (will not work with j2re)
Edited by: Nitin Jain on Mar 18, 2009 11:06 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rahul,
You will need to restart the NWDS after the changes (addition of environment variable JAVA_HOME as told earlier) are done.
Kind Regards,
Nitin
PS: You will still get the error if you continue working with the IDE open.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rahul,
I guess there is no issue with the JDK version you are using. I guess you are using j2sdk1.4.2_08 version which is also correct. No issues in using that JDK. Just make sure you are using Java SDK 1.4.2 + Which means it can be either j2sdk1.4.2_08 or above release of JDK as per suggested by Siva.
I hope your earlier issue is resolved. Please let me know if you have any issue in setting teh environmental variables.
Thanks and Regards
Pravesh
Hi Rahul,
Check this [thread |;for removing build errors.
If you have imported the project, then check java and NWDS versions are same/compatible with where it is build.
If you have created this project in your NWDS only, then try to close unused projects in NWDS or try to change the workspace.
Go to Window -> Preferences -> Workbench -> Workspace.
Click on browse and choose new folder as workspace.
Regards,
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
Are u working with NWDI?
Because During installation of NWDS it automatically ask for JDK. Now since problem came with build.
Best Regards
Satish Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
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.