Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8044013

[Solaris 11] AWT and Swing could not run because of absence of libXm.so file

XMLWordPrintable

      It is an old issue but I could not find similar bug in JBS.
      It is NOT a regression!

      This issue is Solaris 11 specific. Not reproducible on Solaris 10.
      This issue is JDK 1.5 specific. Not reproducible on other trains.

      if I use -Dawt.toolkit=sun.awt.X11.XToolkit program can run.

      Run slot:
      http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=483763.ute.st2-1

      For example:
      http://aurora-ds3.us.oracle.com:9502/runs%2F483763.ute.st2-1/results/ResultDir/X__O_copy_1/X__O.log

      Output:

      Exception in thread "main" java.lang.UnsatisfiedLinkError: /export/jdk/jdk1.5.0_65b07/jre/lib/sparc/motif21/libmawt.so: ld.so.1: java: fatal: libXm.so.4: open failed: No such file or directory
              at java.lang.ClassLoader$NativeLibrary.load(Native Method)
              at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1758)
              at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1654)
              at java.lang.Runtime.load0(Runtime.java:769)
              at java.lang.System.load(System.java:966)
              at java.lang.ClassLoader$NativeLibrary.load(Native Method)
              at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1758)
              at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1675)
              at java.lang.Runtime.loadLibrary0(Runtime.java:822)
              at java.lang.System.loadLibrary(System.java:991)
              at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
              at java.security.AccessController.doPrivileged(Native Method)
              at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
              at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
              at java.awt.Component.<clinit>(Component.java:563)
              at NewClass.main(NewClass.java:17)



            scfitch Stephen Fitch
            ampopov Alexander Popov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: