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

Cannot get default toolkit under JDK1.4

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Not an Issue
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
      2d
    • CPU:
      x86, sparc
    • OS:
      generic, solaris_2.6, windows_nt

      Description



      Name: dsR10051 Date: 05/04/2000


      Can not get default toolkit under JDK1.4 with
      Solaris 2.6.

      Here is a minimized test:
      import java.awt.*;
      public class Java14Test {
          public static void main (String[] args) {
              Toolkit tk = Toolkit.getDefaultToolkit();
          }

      }
      --- Output ---
      %uname -a
      SunOS spear 5.6 Generic_105181-16 sun4u sparc SUNW,Ultra-1
      %/set/java/jdk1.4/solaris/bin/java -version
      java version "1.4.0beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0beta-b11)
      Java HotSpot(TM) Client VM (build 1.3.0rc3-Z, interpreted mode)
      %/set/java/jdk1.4/solaris/bin/java Java14Test
      Exception in thread "main" java.lang.UnsatisfiedLinkError: /net/spear/jdk/JDK1.4.0-beta-b11/solaris/jre/lib/sparc/libfontmanager.so: ld.so.1: /set/java/jdk1.4/solaris/bin/../bin/sparc/native_threads/java: fatal: libCrun.so.1: open failed: No such file or directory
              at java.lang.ClassLoader$NativeLibrary.load(Native Method)
              at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)
              at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1298)
              at java.lang.Runtime.loadLibrary0(Runtime.java:749)
              at java.lang.System.loadLibrary(System.java:820)
              at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:53)
              at java.security.AccessController.doPrivileged(Native Method)
              at sun.awt.font.NativeFontWrapper.<clinit>(NativeFontWrapper.java:39)
              at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
              at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:58)
              at java.lang.Class.forName0(Native Method)
              at java.lang.Class.forName(Class.java:120)
              at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
              at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:57)
              at java.lang.Class.forName0(Native Method)
              at java.lang.Class.forName(Class.java:120)
              at java.awt.Toolkit$2.run(Toolkit.java:498)
              at java.security.AccessController.doPrivileged(Native Method)
              at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:489)
              at Java14Test.main(Java14Test.java:4)
      %

      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              sdasunw Sda Sda (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: