Skip to Content
Author's profile photo Michael Pytel

Define an older JDK as the default for Build in NWDI 7.x

We recently migrated from NWDI installed within a Solution Manager JAVA stack (BIG NO NO) to a new NWDI instance on NW 7.4 JAVA.  In our scenario – an upgrade was not an option.  Also – we still have active development in a NW 7.0 Enterprise Portal environment so the default JDK with NW 7.4 NWDI was too high.  Here are the steps required (with screenshots) on how to change the default JDK version for builds in NWDI 7.4.  Please post questions in the comments section!  Thank you!

  • Logon to NWA for NWDI system
  • Navigate to Operations > Systems > Start & Stop

Step1.png

  • Select JAVA Services and filter on ‘cbs’ for Service Component Name

Step2.png

  • Select the service ‘sap.com/tc.CBS.Service’ and click More Actions > View Service Properties

Step3.png

  • Select the Property ‘BUILD_TOOL_JDK_HOME’ and click Modify

Step4.png

  • Enter the path to the default JDK to be used for all CMS
  • In this case it’s “/usr/java/j2sdk1.4.2_08″

Step5.png

  • Click Save and then ‘Back’ link in upper right
  • Stop and then Start the CMS service.

Step6.png

  • Default JDK path is now applied

Assigned Tags

      4 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Ervin Szolke
      Ervin Szolke

      Hello Michael,

      please note that the problem with this configuration is that it won't work for building tracks where the build plugins are not 700 related. If you have only 700 tracks ran by a 740 nwdi then of course your configuration will be ok but as soon as you add a track higher than 70X, you will face problems.

      To see the full picture see this thread:

      Installing JDK 6 (1.6.0_21) on SAP NWDI - CBS

      Best Regards,

      Ervin

      Author's profile photo Andy Silvey
      Andy Silvey

      thanks Ervin,

      I was about to post the same response.

      This how to guide goes into more detail, pay particular attention to the Build-Variant configuration.

      Best regards,

      Andy.

      Author's profile photo Ervin Szolke
      Ervin Szolke

      Thank you, Andy!

      I am thinking of to write a blog about this topic, that covers everything, as it seems to be an evergreen topic, and info has to be gathered from too many places.

      Cheers,

      Ervin

      Author's profile photo Ervin Szolke
      Ervin Szolke

      update: a connected blog here:  Configuring JDK settings with nwdi