08-07-2017 9:23 AM
Hi folks,
I have installed SAP GUI for Java 7.40 rev 12 on Ubuntu (17.04). Then I installed Eclipse Oxygen and ADT tools for ABAP development.
But I have a strange issue in Eclipse :
Initially I thought it may be bug with Eclipse Oxygen, so I went to Eclipse Neon version, but same issue was there too. I even checked with a friend, who noticed same issue so I am sure the issue isn't only on my machine.
I installed SAP Gui 7.50 on Windows (native client) and then Eclipse Oxygen/SAP ADT, but I didn't find this issue in Windows.
So, I suspect it's either issue with Linux client or SAP GUI Java. Any suggestions to resolve this issue?
Thanks,
Ravi
10-18-2017 11:51 AM
Hi Ravi,
Today I had exactly the same bug. Somehow Eclipse does not like to work with GTK3. So what I did was to include this line in the eclipse.ini file:
--launcher.GTK_version
2
That did the job! Now I can display any SAP transaction and debug from eclipse.
08-07-2017 9:53 AM
My guess is that it's either to do with java or eclipse-sapgui integration.
Do you get flickering if you start sapgui directly - i.e. bypassing eclipse altogether?
If so then the issue is with your java or the java gui. If not, then it's java or the eclipse-sapgui integration.
10-26-2017 6:34 AM
It works fine in SAP GUI Mike. But SAP GUI on Linux being Java based doesn't support 'new' ABAP editor. Hence, I would like to use ABAP on Eclipse on Linux .
The issue is definetly with Eclipse-SAPGUI integration. But I am not sure which is the correct team to handle this issue. Eclipse or ADT (ABAP Development Tools) plugin team.
10-26-2017 9:21 AM
Using pure SAPGUI was just a troubleshooting exercise. Have you tried updating to 7.5 GUI and the latest JVM?
12-04-2018 5:53 AM
Mike I did upgrade to SAP 7.5 GUI for Linux. Upgraded Eclipse (currently using Oxygen 3.a), upgraded JDK (currently JDK 10). But nothing worked.
I had read this issue was due to Eclipse not behaving properly in GTK3 environment. Hence, Marco's solution above worked for me.
Thanks for the help though 🙂
10-18-2017 11:51 AM
Hi Ravi,
Today I had exactly the same bug. Somehow Eclipse does not like to work with GTK3. So what I did was to include this line in the eclipse.ini file:
--launcher.GTK_version
2
That did the job! Now I can display any SAP transaction and debug from eclipse.
10-18-2017 12:26 PM
Interesting, but if it's GTK then why only start freaking out when SAPGUI does it's thing.
I wonder if SAPGUI likes GTK2 and Eclipse GTK3. So maybe updating to SAPGUI 7.5 might also do the trick...?
10-26-2017 6:31 AM
12-04-2018 5:50 AM
HI Marco,
I forgot to try this out . In fact didn't use Eclipse all that on Linux in last 1 year. But I tried your solution today and it worked! Thanks for it 🙂
03-29-2018 8:59 AM
I have the same problem, so it's not just you. I am on Fedora 28 and can reproduce the issue both in xfce as well as gnome3. Former Member solution (calling `eclipse --laucher.GTK_version 2`) causes eclipse to reproducably crash when opening a report (not a class or function module!) and starting to scroll.
12-04-2018 5:54 AM
I have just used this switch and haven't experienced any crashes. Will inform if I do get any crashes.
FYI, I am using Xubuntu 18.04 currently.
03-11-2019 5:40 PM
Hi,
unfortunately this annoying error is still there in the latest versions (on linux Debian) with Eclipse 2018.12, ADT 3.0.2, SAPGUI java 7.50 rev 5 with openjdk 11.0.2 sapmachine .
It would be nice if it gets fixed.
Best regards,
Denis