Application Development 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: 

Installing SAPGUI 7.10 on ubuntu 7.10

Former Member
0 Kudos

Hi,

I have been trying to install SAPGUI Java 7.10 on Ubuntu 7.10 (32bit) but so far hasn't had any success.

This is the error when I run "sudo java -jar PlatinGUILNX_2.jar"

Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit

at java.awt.Toolkit.getDefaultToolkit(libgcj.so.81)

at javax.swing.plaf.basic.BasicLookAndFeel.initialize(libgcj.so.81)

at javax.swing.UIManager.setLookAndFeel(libgcj.so.81)

at javax.swing.UIManager.<clinit>(libgcj.so.81)

at java.lang.Class.initializeClass(libgcj.so.81)

at com.sap.platin.base.install.GuiInstall.main(GuiInstall.java:461)

Caused by: java.lang.UnsatisfiedLinkError: libgtkpeer: libgtkpeer.so: cannot open shared object file: No such file or directory

at java.lang.Runtime._load(libgcj.so.81)

at java.lang.Runtime.loadLibrary(libgcj.so.81)

at java.lang.System.loadLibrary(libgcj.so.81)

at gnu.java.awt.peer.gtk.GtkToolkit.<clinit>(libgcj.so.81)

at java.lang.Class.initializeClass(libgcj.so.81)

at java.lang.Class.forName(libgcj.so.81)

at java.awt.Toolkit.getDefaultToolkit(libgcj.so.81)

...5 more

I have search this forum and not able to find any threads on this.

Can someone help?

Thanks

  • SAP Managed Tags:
1 ACCEPTED SOLUTION

RMW
Advisor
Advisor
0 Kudos

Hello,

it looks like the java command is part of GIJ on your machine, not the Sun JVM. Only latter is supported by SAP GUI for Java.

Best regards

Rolf-Martin

  • SAP Managed Tags:
4 REPLIES 4

RMW
Advisor
Advisor
0 Kudos

Hello,

it looks like the java command is part of GIJ on your machine, not the Sun JVM. Only latter is supported by SAP GUI for Java.

Best regards

Rolf-Martin

  • SAP Managed Tags:

Former Member
0 Kudos

Hi Rolf-Martin,

Thanks for the reply.

How do I enable Sun JVM?

Regards

  • SAP Managed Tags:

0 Kudos

Hi James,

please have a look at section "PATH and Environment" at the end of chapter 4. Installation in the manual which comes with the installation of SAP GUI for Java.

If you only what to use the SUN JVM only for SAP GUI for Java and not make it the default, you can define PLATIN_JAVA to point to the java command of the SUN JVM.

Best regards

Rolf-Martin

  • SAP Managed Tags:

Former Member
0 Kudos

Hi Rolf-Martin,

Thank for the quick reply.

Will check.

Regards

  • SAP Managed Tags: