cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the default jdk in a development component

Former Member
0 Kudos

Hi folks,

I have the following problem:

Error: com.sap.tc.buildplugin.util.BuildPluginException: JDK home path 'C:\Programme\Java\jdk1.5.0_19' for key 'default' is not a valid directory.

I copied manually some DCs of a co-worker's workspace but the DCs cannot be build anymore.

Do you have an hint what to do with that???

BR Philipp.

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member206242
Active Participant
0 Kudos

Hi,

Goto Development infrastructure perspective in the NWDS.

Select Local Development track in Component Browser, goto to component properties and expand the technology specific settings. Set the JDK location for all builds here.

You can do similar things from top menu Windows->Preferences also.

Regards,

Nipun

Former Member
0 Kudos

Hi Philip,

Perform following steps for every project in your IDE.

1. Right click on the project.

2. From context menu, Select Properties.

3. Select Java Compiler. You might see error due to mismatch between the complience level and the jdk that you have installed.

4. Change the complience level to appropriate value.

5. Following this step for all the project.

6. Clean the projects and then build again.

Thanks & Regards,

Abhijit

Former Member
0 Kudos

Is the java installation directory and version different in both machines?

Former Member
0 Kudos

I have not encountered this error before.

Have you tried going to Java perspective and checking the Properties of the DC and Configure Build Path, it looks like it is referencing the wrong directory???