02-05-2008 5:45 AM
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
02-05-2008 9:35 PM
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
02-05-2008 9:35 PM
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
02-12-2008 8:54 AM
02-12-2008 9:05 AM
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
02-12-2008 9:11 AM