Prerequisites
In order to explore SAP Commerce Cloud with SAP Commerce Cloud 123, you need to prepare your system by installing the basic prerequisites.
You require the following to use SAP Commerce Cloud 123:
- Java 17 Software Development Kit
- Apache Maven
- Git
- Chrome web browser
SAP Commerce Cloud 123 uses Selenium for running automated tests as you progress through the tutorials. Selenium requires the Chrome web browser.
Modify the ditto Command (Linux Only)
SAP Commerce Cloud 123 uses the ditto command for some Unix/Mac steps. Because the Linux ditto command does not work the same as for Mac, it is important that you modify the command to match the OSX functionality before beginning SAP Commerce Cloud 123 on Linux. Making this change will greatly simplify your journey through SAP Commerce Cloud 123.
Context
By default, the Mac OSX ditto command creates target directories in the given file path if they do not already exist. The Linux ditto command does not do this, but you can modify the command in your shell profile to add mkdir support.
Procedure
ditto() { directory=$(dirname $2); mkdir -p $directory; cp "$1" "$2"; }
Results
Install the Prerequisites
Prepare your system by installing a few essential prerequisites before beginning your journey through SAP Commerce Cloud 123.
Procedure
- Check that you have the supported Java Development Kit (JDK) installed with the <JAVA_HOME> variable set.
- Optional: If you do not have Java Development Kit 17 (JDK 17) installed, install it, and define the <JAVA_HOME> variable. (See Install the Java SDK).
- Check that you have Apache Maven installed.
- Optional: If you do not have Apache Maven installed, install it (see Installing Apache Maven
). - Check that you have Git installed (see Installing Git
).
- Optional: If you do not have Git installed, install it.