cancel
Showing results for 
Search instead for 
Did you mean: 

No JDK_HOME_PATH defined for key 'JDK1.4.2_HOME'

Former Member
0 Kudos

Hi

I am facing an issue and need your help on it.

Scenario: I am working on a WD Java application in NWDS7.0.11 and my JDK version is JDK1.4.2_04.

I am not getting any error when I am doing rebuild and Development Component --> Build.

But, as soon as I try to activate the activity, it results into error. As per build log,

Build stoped due to an error. No JDK_HOME_PATH defined for key 'JDK1.4.2_HOME'.

Whereas I have following entry in my VM.paramenets file " -DJDK1.4.2_HOME=C:\j2sdk1.4.2_04"

and I have following entry in Environment Variable of My Computer

Variable name: JAVA_HOME

Variable value: C:\j2sdk1.4.2_04

I followed various threads posted for same issue but not getting much help.

Could you please help me in resolving this at the earliest as this is really a show stopper for me.

Thank you.

Regards

Vineet

Accepted Solutions (1)

Accepted Solutions (1)

Qualiture
Active Contributor
0 Kudos

SAP note 1321274 https://service.sap.com/sap/support/notes/1321274 will solve your issue

Former Member
0 Kudos

Hi Robin

Thank you for your response.

I read SAP Note 0001321274. We already have required NWDS settings at our local system.

I have requested our Basis team to check CBS settings.

In the mean time pl let me know if there is any other setting that needs to be checked/ changed/ configured.

Regards

Vineet

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear Vineet,

Hope you are doing good.

The BUILD_TOOL_JDK_HOME needs to point always to the highest JDK version, while the JDK_HOME_PATHS is

listing the possible JDKs. The parameters below should be correct:

JDK_HOME_PATHS

com.sap.jdk.home_path_key

and

BUILD_TOOL_JDK_HOME.

Please correct the parameters, restart atleast the CBS service, and then rebuild the entire application.

Please have a look at teh below document describing how to set up different JDK version for CBS builds:

<http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7014086d-3fd9-2910-80bd-be3417810c6f>

Also check "CBS service properties" to see how to set correct parameter for both jdk-related CBS service properties:

<http://help.sap.com/saphelp_nw70/helpdata/en/53/75b3407e73c57fe10000000a

1550b0/frameset.htm>

Thank you and have a nice day :).

_____________

Kind Regards,

Hemanth

Former Member
0 Kudos

Hi Hemanth

Just for my confirmation.

Settings suggested by you needs to be done on server side. Correct?

Also, is there any other setting that needs to be done on my local system? Everything was working fine till last week and all of a sudden this started happening. Any inputs on this?

Regards

Vineet

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear Vineet,

Hope you are doing good.

Yes these are on the server end. On the local system, it is just the 'vm.parameters' file as mentioned in the note..

Thank you and have a nice day :).

_____________

Kind Regards,

Hemanth

Former Member
0 Kudos

Hi Robin

Basis applied SAP Note and this did not solve our issue.

Could you pl provide more inputs?

Regards

Vineet

Former Member
0 Kudos

Hi

Basis did not restart the server earlier so settings did not take place after sap note application.

Restarting server solved issue.

I have awarded points.

Thanks Robin, Hemanth and Ervin.

Regards

Vineet

Answers (1)

Answers (1)

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

first of all please notice that I have moved this thread from the wd to the nwdi forum.

further I kindly ask you to have a look at this thread:

How to deal with JDK versions

I hope this helps.

Best Regards,

Ervin