Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Phily
Participant
Recently I tried install SAP GUI for Java 7.7 into my M1 Mackbook Air. I'd like to share the steps.

JDK


Standard JDK doesn't support M1 chip yet. We need find other ways for java JDK

1. Open JDK : https://openjdk.java.net/

2. SAPMachine: https://sap.github.io/SapMachine

I have installed both JDK, and both of them are working to install SAP GUI and Eclipse. You may choose one of the JDK to go ahead, simplest way is with OpenJDK.

Install Open JDK


for my testing the latest version of Open JDK can be used for SAP GUI client, suggest to install from Homebrew:
$ brew install openjdk

After installation, check java and java home
$ /usr/libexec/java_home -V
$ java --version

You will find the arm64 version Open JDK17 has been installed




Install SAPMachine (alternative)


download SAPMachine from https://sap.github.io/SapMachine, choose the MacOS aarch64 version SAP Machine 17 to download


After download, you can open the file and copy the content to local folder,  for example : /opt/jdk , structure like below:


Next , edit .zshrc file and add java home and path for SAPMachine
$ open ~/.zshrc

Append below information to the open file
export JAVA_HOME=/opt/jdk/sapmachine-jdk-17.jdk/Contents/Home
export PATH="/opt/jdk/sapmachine-jdk-17.jdk/Contents/Home/bin:$PATH"

Now check the java version , it come to SAPMachine now:


Note : you can also use Homebrew to install SAPMachine as well. but I noticed the homebrew installed version is for X64 instead of AArch64

SAP GUI for Java


In early version of SAP GUI for Java, we need install Open JFX to support the user interface of SAP GUI installation.  which means you need set the Module path of JFX at the  Installation Option step. I understand in the late version of SAP GUI for Java 7.5 and the new 7.7, SAP Machine and JFX are embedded in the installation files, you don't need install Open JFX now.

So it's a out of box installation and you just follow the installation guide step by step:

Installation


Navigate to the installation file path and run java command:
$ java -jar PlatinGUI-MacOSX-7.70rev1.jar

Note:  I noticed the dmg file under installation path cannot be used , it might because of the M1 Chip difference with Intel Chip.

You will see the installation guide screen and go ahead


you can leave it no change in this screen or choose your own location


Ideally you could see success screen below:




Execute


Find SAP Icon from Apple Launchpad, and double click


Create a new connection,  configure from Advanced tab , and put the connection string like below:

replace host name/IP and systemName with your system value.


please ref this good article for connection string detail:

SAP GUI For Java Connection Strings

Now you can login to enjoy your SAP GUI for java




Eclipse and ADT plugin


 

Eclipse supportes the M1 chip now, you may download the latest version (2021-09) from official website.

I would suggest to install through homebrew:
$ brew install --cask eclipse-java

After installation , you can find it from Apple Launchpad and run from there:



Note: Eclipse use it's own JRE to start the IDE. You can also point to other JDK to start Eclipse by changing the info.plist file , uncomment the -vm parameter.


Go into the eclipse, follow the steps on https://tools.hana.ondemand.com/ to install ADT tools


After install ADT successfully, you can create a new ABAP project by choosing the SAP instance which configured in SAP GUI for Java


Follow the steps to create the ABAP Project, you are OK to use Eclipse ADT to connect to SAP instance.

Summary


Run SAP GUI for Java and Eclipse ADT is more and more easy nowadays on Apple Laptop. Basically it is out-of-box installation and you will feel almost no difference than on Windows.

Hope you enjoy your SAP journey on Apple M1 laptop !

 

 
30 Comments
Labels in this area