Skip to Content

SAP JVM 4.1 Switch Procedure

Purpose

The purpose of writing this document is to provide screen by screen procedure of the sapinst tool involved in the SAPJVM switch.


Why is SAPJVM Required?

Since 1st of October 2012, SAP JVM 4 is the only supported JDK for SAP Web AS 6.40 and SAP Netweaver 7.0 systems. JDKs from other vendors are not supported anymore. Please refer to notes Note 1495160 and Note 1708967 for more information.


Downloading the Standard Installation Guide

You can download the standard installation guide for your operating system from the http://service.sap.com/instguides  under SAP JVM Switch Tool.

Please go through the installation guide before performing the SAPJVM switch.


Important Notes:

1665953SAP JVM Switch Tool Composite Note

1555341Downloading SAP JVM Switch Tool and SAPJVM 4

1367498SAP JVM installation prerequisites

1603093SAP JVM 4.1 parameters NetWeaver 2004 and 7.0


Downloading the required Software:

You can find the current download path in Note 1555341 . Please access this note for any latest changes.

SAPJVM Switch Tool:

http://service.sap.com/swdc

Support Packages and Patches -> My Company’s Application Components -> Complimentary Software -> SAP JVM 4.1 Switch Tool

SAPJVMSWITCH<version>.SAR

SAPJVM 4.1 :

http://service.sap.com/swdc

Support Packages and Patches -> My Company’s Application Components -> Complimentary Software -> SAPJVM 4.1

SAPJVM<version>.SAR


Performing the SAPJVM switching:

Perform the below steps in every application server Instance host of your system:

  1. Make a new directory in the local filesystem of the host of SAP instance and put the two SAR files SAPJVMSWITCH<version>.SAR  and SAPJVM<version>.SAR
  2. Extract the SAPJVMSWITCH<version>.SAR  using SAPCAR and do not unpack the SAPJVM<version>.SAR
  3. Start the sapinst that is extracted from the SAPJVMSWITCH<version>.SAR file and follow the below steps:



/wp-content/uploads/2012/11/1_159012.jpg

Enter the password of <sid>adm user:

/wp-content/uploads/2012/11/2_159013.jpg

Enter the path of SAPJVM software archive:

/wp-content/uploads/2012/11/3_159023.jpg

Please go through the note 1603093  before proceeding with the next step for the parameters that is changed as of SAP JVM 4.1

Server ID parameters:

/wp-content/uploads/2012/11/4_159024.jpg

/wp-content/uploads/2012/11/5_159025.jpg

/wp-content/uploads/2012/11/6_159026.jpg

Dispatcher ID parameters:

/wp-content/uploads/2012/11/7_159027.jpg

Server Bootstrap Parameters:

/wp-content/uploads/2012/11/8_159028.jpg

Dispatcher Bootstrap Parameters:

/wp-content/uploads/2012/11/9_159029.jpg

Instance Bootstrap parameters:

/wp-content/uploads/2012/11/10_159030.jpg

Check the box below

/wp-content/uploads/2012/11/11_159031.jpg

/wp-content/uploads/2012/11/12_159032.jpg

/wp-content/uploads/2012/11/13_159033.jpg

/wp-content/uploads/2012/11/14_159034.jpg

/wp-content/uploads/2012/11/15_159035.jpg

/wp-content/uploads/2012/11/16_159036.jpg

Adapt the Instance Profiles


1.      Set the parameter jstartup/vm/home=<drive>:\usr\sap\<SAPSID>\<Instance>\exe\sapjvm_4.

2.      Add the parameter SAPJVM_VERSION = <version of the SAPJVM4>

3.      Restart the SAP instance

Verifying the SAP JVM 4.1 Switch

Go to http://<hostname>:5<Instance number>00/SystemInfo and you can see the JVM version as shown below:

/wp-content/uploads/2012/11/17_159037.jpg

To report this post you need to login first.

16 Comments

You must be Logged on to comment or reply to a post.

  1. Ankit Gupta

    Well documented and detailed explaination of requirements and execution steps for JVM upgrade. If possible, please include backup plan and steps, in case this upgrade fails, in your next version. Thanks.

    (0) 
  2. Sumeet Sokhi

    The Document is having all the neccessary document needed for the JVM Switch. Since it is mandate to go for a JVM installation, this document will be of great help.

    (0) 
    1. Pankaj Pabreja Post author

      Hi Jacob,

      Thanks for the appreciation and the info. I just went through the blog. Nice work.

      I thought of writing the document as I myself struggled to find the exact procedure of JVM switching. Anyways, this document contains some additional post steps and updated notes and it adds document in the forum.

      Thanks,

      Pankaj

      (0) 
  3. Christoph Ostrop

    we are using the new downloaded tool (SAPJVMSWITCH00P_13-20008224.SAR)

    the automatically restart of the instance is now running since 61 min,

    but it seems the jvmswitch-tool did not recognize, that the system is running!!!

    what to do??? šŸ™

    will a cancel of the tool-clientsession cancel the whole execute-step ?

    (0) 
    1. Pankaj Pabreja Post author

      Hi Christoph,

      Sorry to reply to you late. You could have manually stopped the instance in case it was taking a long time. I hope the issue was resolved.

      Regards,

      Pankaj Pabreja

      (0) 
  4. Kanchan Mishra

    Excellent blog Pankaj, self explanatory,has helped me a lot. Have one question though, is there any backout plan if some issue occurs in between. Do we have to take backup of JDK from some location?

    (0) 

Leave a Reply