Skip to Content
Product Information
Author's profile photo Bikash Bansal

SAP Customer Checkout supports SAP JVM

Hello Everyone,

This blog post informs you about usage of SAP Customer Checkout together with SAP JVM (Java Virtual Machine).

Recently we got some questions in our SAP Community page with regards to usage of  Oracle Java SE 8 together with SAP Customer Checkout.
The possible cause of these questions are some potential changes in the licensing policy of Java. General answers to the usage of Java in SAP products can be here (SAP Note 2700275)

In this blog I talk about SAP Customer Checkout. Java is a pre-requite for running SAP Customer Checkout. And we support for the releases which are currently in Service Market Place(Release SAP Customer Checkout 2.0 FP05, 2.0 FP06 and 2.0 FP07) both SAP JVM 8.1 and Java SE 8 (Oracle).

So partners and customers can download SAP JVM 8.1 from service market place and use it. There are no additional costs with regards to using SAP JVM together with SAP Customer Checkout.  Below i also share with you the steps i followed to download SAP JVM 8.1 from Service Market Place(SMP) and use it successfully together with SAP Customer Checkout.

And if Partners and Customers wants to use Java SE 8 (Oracle), then they need to check which version of Java they are using and the terms and conditions of the software usage accordingly to the provider. Of-course i cannot comment on those terms and conditions.


SAP Customer Checkout 2.0 FP07 together with SAP JVM 8.1

For SAP JVM 8.1 both 32 bit and 64 bit versions for various platforms are available. The steps remains the same. However below i explain the steps that i performed with SAP JVM 8.1 for Windows on X64 64 bit.

I downloaded the latest Patch Level of SAP JVM 8.1 for “Windows on X64 64 bit” for Service Market Place. Screenshot below.

 

The resultant download was a SAPJVM8_55-80000211.SAR file.

One of the softwares i know that can be used to extract .SAR files is SAPCAR. So the next step for me was to download the latest version of SAPCAR from Service Market Place. Screenshot below.

The resultant download was a SAPCAR_721-20010453.EXE file.

Now i wanted to extract SAPJVM8_55-80000211.SAR using SAPCAR_721-20010453.EXE

Hence i copied both the files in a common folder. In command prompt, i nagivated to that folder and executed the below statements to extract the files. Ofcourse you need to change the names of the files based on how your files are called. Also basic statements for SAP CAR you can easily find online.
SAPCAR_721-20010453 -xvf SAPJVM8_55-80000211.SAR

As a result, along with other folders, an extracted folder with the name sapjvm_8 was created.

 

Since i downloaded SAP JVM for Windows on 64bit, I copied this extracted sapjvm_8 folder in my program files and also created a environment variable “CCO_JAVA_HOME” so that i am sure that
SAP Customer Checkout will use exactly this version of Java(sapjvm_8) and not any other Java versions which i might have installed for other purposes. The below screenshots helps you explain these steps. 1st the copying of the sapjvm_8 to program files and next setting the environment variable.

 

 

After this i am all ready to use SAP Customer Checkout together with SAP JVM. Just follow our normal installation steps. After installation of SAP Customer Checkout it is very easy to verify that the intended version of Java is used by SAP Customer Checkout. The below screenshot shows you how to verify this information in SAP Customer Checkout.

 

Incase you are running SAP Customer Checkout with standard SAP SE 8 and want to now switch to SAP JVM. You do not need to change anything in SAP Customer Checkout. You need to follow the same steps, and your environment variable “CCO_JAVA_HOME” should point to SAP JVM. After that when you re-start (not logout but re-start) SAP Customer Checkout then it uses SAP JVM.

Now lets talk about SAP Customer Checkout manager

The same information is also completely valid for SAP Customer Checkout manager as well.
I explain below the steps that i performed and also solution for an issue that i faced. My assumption is that you might face the same problem.

One pre-requisite for SAP Customer Checkout manager is a web-server and we support tomcat.
So while installing the right version of tomcat, i selected the SAP JVM and finished the installation procedure. Screenshot below.

After installation, the tomcat service for me did not start. Hence i had to go to tomcat installation folder and start the Tomcat8_SAPJVMw.exe, select sub-tab “Java” and remove from the “Java 9 Options:” the options provided and make the whole field blank. Then “Apply” and “OK”.

After this change, the tomcat service started successfully again and the rest of the installation procedure can continue as described in our documentation.

After installation/deploying of SAP Customer Checkout manager it is very easy to verify that the intended version of Java is used by SAP Customer Checkout manager. The below screenshot shows you how to verify this information in SAP Customer Checkout manager.

Incase you are running SAP Customer Checkout manager with standard SAP SE 8 and want to now switch to SAP JVM. You do not need to change anything in SAP Customer Checkout manager. You need to follow the same steps, and for tomcat properties, tab Java in the field Java Virtual Machine, set the right version of Java and remove the Java 9 Options as high-lighted in the previous screenshot.  After that when you re-start your tomcat service, it uses SAP JVM.

 

Trouble shooting:

  1. When trying to run SAP Customer Checkout with the Java provided by SAP (SAP JVM) you may encounter an issue that Customer Checkout aborts the startup process.

Cause
The Microsoft Visual C++ Redistributable Package is lower than version 2013.

Resolution
SAP JVM 8 starting from 8.1.042 requires the installation of the “Microsoft Visual C++ 2013 Redistributable Package” – or higher – which can be obtained from the Microsoft website. See note 1367498.

 

This is all that i wanted to share with you.

In this blog, you have learnt that SAP Customer Checkout also supports SAP JVM. Also a detailed step by step instructions was provided regarding how to use SAP Customer Checkout together with SAP JVM.

Hope you enjoyed the blog. Best of luck with your SAP Customer Checkout journey.

Feel free to comment and give feedback about the blog.

About me: 
My name is Bikash Bansal. I work for SAP SE, Germany. My current role is of Product Owner for SAP Customer Checkout.
You can find more blogs from me about SAP Customer Checkout here .

Assigned Tags

      11 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Hector Santos
      Hector Santos

      Thanks, Bikash! Helpful information.

      Author's profile photo Julian Wehmann
      Julian Wehmann

      Thanks Bikash Bansal .
      Any customers already productive with SAP JVM 8.1?
      Julian

      Author's profile photo Bikash Bansal
      Bikash Bansal
      Blog Post Author

      Hello Julian,

      As SAP Customer Checkout is an on-premise product, i don't know the answer to your question.

      Best Regards,
      Bikash

      Author's profile photo Arne Timmermann
      Arne Timmermann

      Thank you Bikash,

       

      easy to follow instructions, worked like a charm! 🙂

      Author's profile photo Julian Wehmann
      Julian Wehmann

      Dear Bikash Bansal

      in order for SAP JVM to start smoothly, it is important that "Microsoft Visual C++ 2013 Redistributable Package" or higher is installed.
      See note 2850709 - Customer Checkout fails to start with SAP JVM 8 and higher

      Thanks,

      Julian

      Author's profile photo Bikash Bansal
      Bikash Bansal
      Blog Post Author

      Thank You Julian. I added a new Trouble Shooting section where i mentioned this issue and the solution as suggested also by you. Thanks again.

      Author's profile photo Dariusz Boduch
      Dariusz Boduch

      Hi Bikash

      I did everything as you described, but I got the message:

      What could be the reason? I have installed the CCO version: 2.0 FP11 PL00.

      Best Regards
      Darek

       

      Author's profile photo Gunther Sandtner
      Gunther Sandtner

      Hi Dariusz Boduch,

       

      The SAPJVM 8 you installed is only compatible with CCO version 2.0 FP09 and lower. Since CCO version 2.0 FP10 only Java 11 is supported.

      See this blog post: https://blogs.sap.com/2020/10/01/sap-customer-checkout-2.0-feature-pack-10-now-available/ with more information in

      SAPMachine 11 or Java Virtual Machine 11 Supported ONLY

       

      Kind regards,

      Gunther

      Author's profile photo Dariusz Boduch
      Dariusz Boduch

      Hi Gunther

      Thank you, the information provided in the link helped me a lot.

      Kind regards

      Darek

      Author's profile photo Karim SEFIANI
      Karim SEFIANI

      Hi Bikash Bansal,

       

      I installed the sap customer checkout but I got this error

       

       

      Best regards

      Author's profile photo Bikash Bansal
      Bikash Bansal
      Blog Post Author

      Hello Karim SEFIANI

      You need to create a BCP ticket using our support process.

      Best Regards,
      Bikash