Home » Setup Preparation

Setup Preparation

1. Installing Java

  • If you do not have a JDK installed, download the latest version of JDK from Oracle.
  • Select the JDK you require and follow the installation instructions.
  • If not already done, set your JAVA_HOME environment variable to point to the JDK directory
  • Open a command line (with administrator rights) and type javac -version.
SAP hybris Version Compatible Java vesrion
V6.6JDK 8
V1808JDK11
V1909JDK11

2. Setup IDE:

  • Install Eclipse/intelliJ()
  • Step to import the project in IDE.

3. Installation Process of hybris

  • Unzipping the hybris Zip file.
  • Go to <HYBRIS_BIN_DIR>/platform
  • Open platform to Command Prompt(CMD)
  • Run setantenv.bat(for windows) Or ./setantenv.sh  (for linux)
  • Run command ant clean all to start building(compiling)
  • After build Successful.
  • <HYBRIS_BIN_DIR>/installer
  • Run command install.bat -r b2c_acc and this would be end with BUILD SUCCESSFUL.
  • If you are using Windows, enter the command /hybrisserver.bat, If you’re on linux use ./hybrisserver.sh

Note : It is a good practice to install SAP Commerce Cloud with installer, specially when you are setting it for the first time in your development system. It copies all the required extensions according to project  you are going to develop.

4.Initialize the hybris system

4.1. using CMD:

  • Run CMD and Go to platform
  •  run commad: ant clean initialize –Dtenant=master
  • after initialization is Done , you will see Build Success on CMD
  • Start the server bat Or ./hybrisserver.sh.

4.2. Using hac:

  • After starting the server go to following link:
  • Localhost:9001/hybris/hac and Go to console and initialize the system:
  • Click on the link Initialize
  • While the system initializes itself you can watch the console and the browser window.
  • Scroll down to the end of the page and click on Continue…

4.3. Explore after initialization:

  1. Take a few minutes to explore the system. Have a detailed look at the pages – you now have an initial clean and empty hybris system up and running.
  2. To log in, use the out-of-the-box default credentials
    (username : admin and password : nimda)
  3. Once logged in, click on the tabs to view the status, system, monitor, miscellaneous and maintenance pages.

4.4 Stopping the server:

  • If you need to stop the server type CTRL + C in the console window.
  • In the next few steps we are going to add an extension which we will build on later.