Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

opening sapgui for java within Eclipse causes crash almost immediately

abo
Active Contributor
0 Likes
1,107

Hi.

On my Linux desktop (debian/testing) I already had "SAP GUI for Java 7.50 rev 5" installed and working well, using the following packages:

  • openjdk-11-jdk:amd64 11.0.9.1+1
  • openjfx 11.0.7+0-5

(In fact, asking SAPGUI for more information says: "jdk.module.path: /usr/share/openjfx/lib")

Next, I installed Eclipse 2020-12 and confirmed that I can connect to my VM with the demo system.

In order to allow integration of the SAPGUI in Eclipse, I saw that I needed to modify eclipse.ini and did that, appending the following lines:

--module-path=/usr/share/openjfx/lib 
--add-modules=ALL-MODULE-PATH 

So, how is it possible that a couple of seconds after I ask Eclipse to embed the SAPGUI and logging in, the whole castle comes crashing down? The error points to an issue with JavaFX but I thought I had it covered already!

03.01. 16:09:48.098 ERROR: MissingResourceException: when try to load bundle: <com.sap.platin.base.control.usability.ActionDesc> for realLocal: <it> localeString: <it>
Is there anyone who tried that and got it to work?
1 ACCEPTED SOLUTION
Read only

abo
Active Contributor
821

Answering my own question for the sake of documentation: while Eclipse can probably run fine with any JDK, apparently it will support embedding the Java SAPGUI only when run with SapMachine

I got the idea from a blog post where the author installed both OpenJDK and SapMachine.

1 REPLY 1
Read only

abo
Active Contributor
822

Answering my own question for the sake of documentation: while Eclipse can probably run fine with any JDK, apparently it will support embedding the Java SAPGUI only when run with SapMachine

I got the idea from a blog post where the author installed both OpenJDK and SapMachine.