cancel
Showing results for 
Search instead for 
Did you mean: 

Eclipse IDE (SAP BW/HANA) Problems In Linux

rahul_chekuri
Explorer
368

Hi This has been a problem for a very long time. Since I started using Fedora which is 4 years ago.

I use Eclipse for SAP BW on HANA. Mainly use it to maintain HANA based objects. However, I did find weird issues. Example below.

We maintain composite providers and map to out. When I do this on windows eclipse I see the mapping as below. This is how it suppose to be.

 
 

rahul_chekuri_2-1739959536193.png

However on Fedora (Linux) version I dont.

rahul_chekuri_3-1739959609563.png

Any ideas to resolve this problem?

Eclipse and Java version

Note: I have tried using all sorts of Java versions, include SAPMachine which is based on Open Java

rahul_chekuri_4-1739959652059.png

 

 

Accepted Solutions (0)

Answers (1)

Answers (1)

roland_szajko
Product and Topic Expert
Product and Topic Expert

Hi

 

Are you using the same ADT and BW Modeling Tools version in Windows and in Fedora? Are you using the latest version of both?

 

br

Roland

rahul_chekuri
Explorer

Hi, I did not load eclipse in my Windwos11 (Virtualbox) but my colleagues dont have any problems. As per the versions I am currently using the latest

https://tools.hana.ondemand.com/#bw

rahul_chekuri_0-1740043880434.png

Java version:

rahul_chekuri_0-1740044335989.png

I also posted this on Eclipse github, they believe it could be related to "SWT / GEF". Not sure what this means though.

https://github.com/eclipse-platform/eclipse.platform.ui/issues/2807#issuecomment-2670792211

 

roland_szajko
Product and Topic Expert
Product and Topic Expert
0 Kudos

Would it be possible for you to check the following?

  1. In your eclipse.ini file, look for the line -vmargs
  2. Put the following parameter below that line:
    -bwmt.awt.mode=1
  3. Start your Eclipse and check if the control now shows the connections

 

rahul_chekuri
Explorer
0 Kudos

Hi roland, it's failing to open with below error

rahul_chekuri_0-1740057087848.png

After the above, I commented the line "-vmargs" and ran eclipse, which forced me to reinstall the HANA tools. However, the problem still persists.

 

rahul_chekuri_0-1740058634522.png

 

 

roland_szajko
Product and Topic Expert
Product and Topic Expert
0 Kudos
I'm sorry, but what exactly was the error after you set the parameter in eclipse.ini? The screenshot just shows the ini file and the commenged vmargs parameter.
rahul_chekuri
Explorer
0 Kudos

It just terminates with below error from the previous screen shot

 

rahul_chekuri_0-1740117116750.png

 

roland_szajko
Product and Topic Expert
Product and Topic Expert
0 Kudos
Can you try with the latest openjdk? According the screenshot in the original post you are using open jdk 21. As far I can see the latest version is 23.
rahul_chekuri
Explorer
0 Kudos

Hi Roland, I eventually decided to install SAP HANA studio. So downloaded and installed and assigned latest java path and applied the parameter under "-vmargs" -bwmt.awt.mode=1. Also installed latest HANA tools. Please see screen shots below. 

Still it's not working.

 

Can we report this as a Bug?

rahul_chekuri_1-1740133797542.pngrahul_chekuri_2-1740133834088.png

 

rahul_chekuri_3-1740133932453.png

rahul_chekuri_4-1740134052710.png

 

rahul_chekuri_0-1740134213324.png

 

 

rahul_chekuri_0-1740133785594.png

 

 

roland_szajko
Product and Topic Expert
Product and Topic Expert
0 Kudos

It looks like as if #-vmargs is commented in your eclipse.ini file. If it's commented, then the setting of AWT will not take effect.

rahul_chekuri
Explorer
0 Kudos

thats the problem. if I dont comment then it fails with below because of string "-bwmt.awt.mode=1"

rahul_chekuri_0-1740139672096.png

 

When I comment "-bwmt.awt.mode=1", then it works. But the problem remain. So basically the string "-bwmt.awt.mode=1" isnt working. Should I install any any other dependent packages or change value of to something else (bwmt.awt.mode=??)

 

rahul_chekuri_0-1740140961041.png

 

 

roland_szajko
Product and Topic Expert
Product and Topic Expert
0 Kudos

We have just noticed, that there was a typo in the parameter. Sorry for that. It should be:

-Dbwmt.awt.mode=1

Can you please try that?

rahul_chekuri
Explorer
0 Kudos

Hi Roland, no problem at all. I did apply the change. I was able to open the hana studio without any problems, but the issue still remain.

I did run the studio via terminal just to collect some logs.

 

rahul_chekuri_0-1740150030103.png

rahul_chekuri_1-1740150137362.png

 

roland_szajko
Product and Topic Expert
Product and Topic Expert
0 Kudos

I would suggest to create an incident on the component BW-MT.

Please ensure to attach all details and screenshots that you shared here as well.

Please mention in the incident, that you discussed with me on this platform. Once you created the incident please share the incident number.

You can do it here via comment, or you can send it to me via "Private message".

Thanks.