Go to below and download Full JDK ( not standard) DMG file to install.
-- >https://bell-sw.com/pages/downloads/#jdk-21-lts
JavaFX - JDK - Eclipse to SAP GUI for Mac
After you downloaded, open the dmg file to install – simply follow the steps to install.
Once the installation is completed: follow the steps
Locate the eclipse.ini file:
Typically found in:
/Applications/Eclipse.app/Contents/Eclipse/eclipse.ini
✦ Open it with a text editor (nano, TextEdit, or Visual Studio Code)
✦ Add the following before the -vmargs line:
(AS SHOWIN IN THE BELOW SCREEN SHOT )
-vm
/Library/Java/JavaVirtualMachines/liberica-jdk-21-full.jdk/Contents/Home/bin/java
JavaFX - JDK - Eclipse to SAP GUI for Mac