2024 Apr 01 6:47 PM - edited 2024 Apr 01 8:28 PM
Hello,
From my Apple M2 Pro - 14.4.1 (23E224)
Eclipse Version: 2024-03 (4.31.0)
Build id: 20240307-1437
SAP GUI for Java 7.80 rev 5
(Version ID 078000040500)
2023-10-25 02:02:39 +0000
ccwdfgl2555, 780_REL, 2218331
Java VM: SAP SE Version 17.0.9+8-LTS-sapmachine
OS: Mac OS X(aarch64) Version 14.4.1
I get this error when accessing to Open others > Text Elements
The system reqirements are not met.
Could not find: javafx.properties
in:
/Users/mac-ARNAUD/Library/Java/JavaVirtualMachines/temurin-21.0.1/Contents/Home/lib
Your Java Virtual Machine seems not to support JavaFX,
required to run the SAP GUI for Java 7.80 rev 5
This might be a problem of starting up the Java VM.
Please check SAP note 2971147 on how to start your Java VM.
UPDATE : Try with SAP GUI for Java 7.80 rev 6 but same error.
Thanks for your help,
Arnaud
2024 Apr 02 9:10 AM
Seems you have a JRE/JDK version mixup "SAP SE Version 17.0.9+8-LTS-sapmachine" vs "temurin-21.0.1" . The sapmachine coming with SAP GUI for Java should contain OpenJFX. temurin might not contain some JFX version.
2024 Apr 02 6:32 PM
SOLVED
Effectively temurin doesn't include JavaFX.
To solve :
1. Download JavaFX from https://jdk.java.net/21/
2. Decompress archive
3. Copy the content of /lib ( which contain lib files and the expected javafx.properties ) to the /lib folder of your java VM
4. Restart eclipse
I try with Java 17 and Java 21 both work well. So we can have different JVM from SAP GUI and Eclipse. I choosen to keep Java21.
Tips :
To modify the Java used by Eclipse edit the file eclipse.ini and change the line just after -vm
-vm
/Users/mac-ADUHAM28/Library/Java/JavaVirtualMachines/temurin-21.0.1/Contents/Home/bin
Thanks WRoeckelein for your help!