Initial steps for Pentaho PDI only
- Download install package (pdi-ce-9.2.0.0-290.zip) from here and unpack to chosen location.
Hint
Select different mirror to download faster. If you’re in UK/Europe, choose France for fastest download speed.
- Delete the swt.jar in {unpack_directory_pdi-ce-9.2.0.0-290.zip}/data-integration/libswt/osx64/ and move the file org.eclipse.swt.cocoa.macosx.x86_64-3.116.100.jar there.
Initial steps for Apache HOP only
- Download install package (apache-hop-client-1.1.0.zip) from here and unpack to chosen location.
Steps for both Pentaho PDI and Apache HOP
- Download and unpack zip containing Java 8 for M1 and SWT library from here.
- Install Java 8 for M1 by running: OpenJDK8U-jdk_x64_mac_hotspot_8u312b07.pkg
- Open zshrc.txt and copy the first line with the export.
Caution
The below step assumes you’re using default shell that comes out of the box. If you’re using any customisation, such as “oh my zsh” check in the appropriate documentation for the name of the file that contains your profile default settings.
- Open Terminal and run:
vi ~/.zshrc
Now on your keyboard:
PRESS i
Navigate to the free line in the file.
PRESS cmd+v
PRESS esc
PRESS :wq
source ~/.zshrc
- Open Terminal setting and add new profile with a name: Rosetta Intel, go to Shell tab and paste the below in Run command (tick the checkbox there but untick the “Run inside shell”):
env /usr/bin/arch -x86_64 /bin/zsh --login
Hint
Set this new profile as default.
- Now click on the menu bar: Shell > New Window > Rosetta Intel to start the new Terminal session.
Starting PDI
- In the new window cd to your directory where PDI is unpacked and run:
./spoon.sh
- PDI should now start after few minutes of loading.
Starting HOP
./hop-gui.sh
- HOP should now start after few minutes of loading.
Notes
- If you’ve got any errors regarding the SWT in the Terminal when trying to run Spoon, try downloading the most recent SWT from here: https://mvnrepository.com/artifact/org.eclipse.platform/org.eclipse.swt.cocoa.macosx.x86_64 (You don’t need to change the name of the jar but ensure that the original swt.jar is deleted).
- Java 8 for M1 has been obtained from: https://adoptium.net/releases.html?variant=openjdk8.
- Don’t use dark mode as it is not yet supported.
Packages to download
- PDI download link:
https://sourceforge.net/projects/pentaho/files/Pentaho-9.2/client-tools/pdi-ce-9.2.0.0-290.zip/download - HOP download link:
https://hop.apache.org/download/ - SWT and Java kit (without PDI/HOP – download links above) on Google Drive (100MB): https://bit.ly/3LmCEAz

Comments
15 responses to “Running Hitachi Vantara Pentaho PDI 9.2 and Apache HOP 1.0.0 under Mac OS 12.1 with M1”