...let your mind twist!

Workaround for Xming and SAP sapinst blank screen issue

When using Xming to display the SAP sapinst gui on a Windows box, the window will be blank. There are a lot of discussions about this issue (e.g. http://scn.sap.com/thread/1913601).

For RHEL I have found the following workaround:

1.    Rename the jre directory in the original sapinst directory to jre.disabled

$ cd sapinst
$ mv jre jre.disabled
2.    Download / Install java-1.6.0-openjdk- from Red Hat Network. Or use the package from Scientific Linux:
$ yumdownloader java-1.7.0-openjdk-
$ wget ftp://ftp.ntua.gr/pub/linux/scientificlinux/6.3/x86_64/os/Packages/java-1.6.0-openjdk-
3.    Extract rpm contents
$ cpio -id < java-1.7.0-openjdk-
4.    Move jre files
$ mv usr/lib/jvm/java-1.7.0-openjdk- jre
5.    Cleanup
$ rm -rf usr
$ rm -f java-1.7.0-openjdk-
$ rm -f java-1.7.0-openjdk-
6.    Run sapinst
$ sudo ./sapinst
7.    …
8.    Profit!

This also works on RHEL 5 even when the jdk was originally packaged for RHEL 6.

Linux Magazine

Linux Magazine News (path: lmi_news)