cancel
Showing results for 
Search instead for 
Did you mean: 

build in error

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

pravesh_verma
Active Contributor
0 Kudos

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

Answers (5)

Answers (5)

Former Member
0 Kudos

refered document

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi Nitin thanks for u r response,that environment variable(JAVA_HOME) should be added in user variable or system variables.

Thanks

Rahul

Former Member
0 Kudos

Hi,

Add JAVA_HOME and value drive:\Program Files\Java\jdk1.5.0_14 IN user variables

and add drive://programfiles/java/jdk1.5.0_14\bin in the System Variables.

Regards

Manohar

pravesh_verma
Active Contributor
0 Kudos

Hi rahul,

Please refer to my first post I have mentioned there the exact procedure to add the JAVA_HOME.. There I have mentioend that it needs to be added under the System Variables. I have highlighted that as well..

Please revert back if you need any further help!

Thanks and Regards

Pravesh

Former Member
0 Kudos

Hi verma,

can you please tell me what jdk version i should use for NWDS SP15.

Thanks

Rahul

former_member197348
Active Contributor
0 Kudos

Hi Rahul,

java 1.4.2_14 can be used with NWDS 7.0 SP15.

Regards,

Siva

pravesh_verma
Active Contributor
0 Kudos

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

former_member197348
Active Contributor
0 Kudos

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

former_member185086
Active Contributor
0 Kudos

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