Skip to content
Volker Simonis edited this page Feb 20, 2019 · 72 revisions

Linux

Unpack the archives to an arbitrary location in the file system and set JAVA_HOME / PATH environment variables accordingly. Alternatively, you can use our .deb packages if you're on Debian or Ubuntu:

sudo bash
wget -q -O - https://dist.sapmachine.io/debian/sapmachine.key | apt-key add -
echo "deb http://dist.sapmachine.io/debian/amd64/ ./" >> /etc/apt/sources.list
apt-get update
apt-get install sapmachine-11-jre

Installation with SDKMAN!

SDKMAN! now supports SapMachine. Because of the current length limit in the SDKMAN! version string, SapMachine has to be abbreviated as sapmchn. Installing with SDKMAN! is as simple as:

sdk install java 11.02.sapmchn

macOS

Unpack the archive (double click in finder) to an arbitrary location in the file system. You may want to move the resulting directory to /Library/Java/JavaVirtualMachines (admin privileges required). If you do so, /usr/libexec/java_home -V will show SapMashine. Moreover, if SapMachine is the most recent JDK, the java command in the shell will use it. You can try this with java -version.

If you prefer not to have SapMachine integrated in macOS' Java Framework, you can set JAVA_HOME / PATH environment variables accordingly and run it from an arbitrary location in the file system.

Windows

SapMachine currently doesn't provide an installer for Windows. Thus, simply unpack the archive and set JAVA_HOME / PATH environment variables accordingly.

Clone this wiki locally