-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
- Download the archive and unpack it to an arbitrary location in the file system.
- Set environment variable
JAVA_HOMEto the root directory of the extracted archive (e.g./<...>/sapmachine-jdk-11.0.3) - Set environment variable
PATH($JAVA_HOME/bin)
You might want to 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
Using Homebrew is the simplest way to install SapMachine:
brew cask install sapmachine-jdk
This will install the latest release of SapMachine into /Library/Java/JavaVirtualMachines. We are currently working on creating a custom tap to facilitate the installation of other SapMachine versions.
Alternatively, you can download and unpack (double-click in finder) the SapMachine archive for MacOS 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 SapMachine. 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, make sure to set JAVA_HOME to the root directory of the extracted archive (e.g. /<...>/sapmachine-jdk-11.0.3) and PATH(i.e.$JAVA_HOME/bin`) environment variables.
Using the Windows Installer (download the MSI package) is the simplest way to install SapMachine on Windows.
Alternatively, you can:
- Download the zip archive and unpack it to an arbitrary location in the file system
- Set environment variable
JAVA_HOMEto the root directory of the extracted archive (e.g.C:\<...>\sapmachine-jdk-11.0.3) - Set environment variable
PATH(i.e.%JAVA_HOME%\bin) environment variables
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.03.sapmchn