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

jdk118c - Javatest 2.0c will not work with jdk118c on Solaris 2.5.1.

XMLWordPrintable

    • 1.1.8
    • generic
    • solaris_2.5.1
    • Verified

      jdk118c - Javatest 2.0c will not work with jdk118c on Solaris 2.5.1.

      Wehn trying to execute Javatest 2.0c using jdk118c under Solaris 2.5.1 exceptions are given and the program fails to launch.

      Steps to reproduce:
      1. Set up environment (classpath & java_home)
      2. launch the javatest tool.

      example:
      set up environment
      ------------------man XtGe
      Setting JAVA_HOME
      ### JAVA_HOME: /home/jsl/jdk/jdk1.1.8/solaris
      Setting CLASSPATH
      ### CLASSPATH: /net/tapas/export0/JCK-116a/javatest.jar:.:/home/jsl/jdk/jdk1.1.8/solaris/lib/classes.zip
      Setting LD_LIBRARY_PATH
      ### CLASSPATH: /home/jsl/jck/JCK-116a/lib
      /home/jsl 3 % java -fullversion
      java full version "JDK1.1.8C"

      launch the tool
      ---------------
      /home/jsl 4 % java javasoft.sqe.javatest.tool.Main
      ld.so.1: /home/jsl/jdk/jdk1.1.8/solaris/bin/sparc/green_threads/java: fatal: relocation error: symbol not found: XtGetKeyboardFocusWidget: referenced in /home/jsl/jdk/jdk1.1.8/solaris/lib/sparc/green_threads/libawt.so (libawt.so)
      java.lang.UnsatisfiedLinkError: no awt in shared library path
              at java.lang.Runtime.loadLibrary(Runtime.java)
              at java.lang.System.loadLibrary(System.java)
              at
              at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:394)
              at java.awt.Window.getToolkit(Window.java:231)
              at java.awt.Frame.addNotify(Frame.java:203)
              at java.awt.Window.pack(Window.java:124)
              at javasoft.sqe.javatest.tool.Startup.<init>(Startup.java:37)
              at javasoft.sqe.javatest.tool.Main.showTool(Main.java:188)
              at javasoft.sqe.javatest.tool.Main.go(Main.java:138)
              at javasoft.sqe.javatest.Main.run(Main.java:104)
              at javasoft.sqe.javatest.tool.Main.main(Main.java:58)

      This only happens on solaris 2.5.1.

      this does not happen with jdk117u or previous fcs releases.

      this problem does not occur in jdk118b.
      john.s.lee@Eng 1998-12-04

            xdengsunw Xianfa Deng (Inactive)
            joleesunw John Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: