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

Linux(32-bit): Plugin Control Panel does not work with rpm installation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.4.2
    • 1.4.2
    • install
    • mantis
    • x86
    • linux
    • Verified

      OS - Linux Redhat 7.2, 7.3
      Build - Mantis SWAT build-04

      Steps to reproduce -

      Install the j2sdk-1.4.2/j2re1.4.2 rpm bundles from -
      /net/mizu/usr/re/jdk5/jdk1.4.2/bundles/linux-i586/b04-2002-10-23

      During installation, the following error message is thrown

      Preparing packages for installation...
      j2sdk-1.4.2-beta
      /var/tmp/rpm-tmp.20519: line 23: 17634 Aborted $UNPACK_CMD $srcFile $dstFile
      Error: unpack could not create /usr/java/j2sdk1.4.2/jre/javaws/javaws.jar. Please refer to the TroubleshootingSection of the Installation Instructions on the download page.error: execution of %post scriptlet from j2sdk-1.4.2-beta failed, exit status 1

      The installation completes and j2sdk1.4.2 is created under /usr/java.

      Go to /usr/java/j2sdk1.4.2/jre/bin, and invoke the Plugin Control Panel. The Control Panel does not come up, and the following exception is thrown -

      Exception in thread "main" java.lang.NoClassDefFoundError: sun/plugin/panel/ControlPanel

      This is because javaplugin.pack has not been unpacked under the lib directory, and hence there is no javaplugin.jar

            sbohne Steve Bohne (Inactive)
            anprabha Anjana Prabhakar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: