eclipsemacosabapsap-guiabap-adt

Eclipse Crashes on Startup with JavaFX Module Path in eclipse.ini


I was able to use Eclipse on macOS without issues three days ago, but now it crashes immediately after the initial loading screen. The splash screen appears briefly, but then Eclipse closes without launching the interface.

This issue occurs with both versions I’ve tried: 2023-03 and 2025-03.

In the eclipse.ini file inside the application contents, I have previously added the following lines to enable SAP GUI integration within Eclipse:

--module-path=/Library/Java/JavaVirtualMachines/javafx-sdk-21/lib
--add-exports=javafx.web/com.sun.webkit.dom=ALL-UNNAMED

I found that Eclipse starts and runs correctly when I remove the first line (--module-path=...). However, I need that line in order to run SAP GUI in Eclipse, so simply removing it is not a viable solution for me.

Has anyone else encountered this issue, or does anyone know how to resolve it without removing the module path?

Thanks in advance!

enter image description here


Solution

  • As answered at sap.com:

    Someone:

    my jdk is 21, i am using javafx 17, it is working. are you using jdk 25?

    Original poster:

    "javafx-sdk-17" worked with me too

    So, use jdk 17 instead of jdk 25:

    --module-path=/Library/Java/JavaVirtualMachines/javafx-sdk-17/lib