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

ClassNotFoundException while loading classes from rt.jar

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6u4
    • 6u4
    • deploy
    • b01
    • x86
    • windows
    • Verified

      I am getting the following ClassNotFoundException while loading all the classes in rt.jar using Kernel JRE. (rt.jar used is from 1.6.0 release )

      CNFE: "sun.misc.resources.Messages"
      CNFE: "sun.misc.resources.Messages_de"
      CNFE: "sun.misc.resources.Messages_es"
      CNFE: "sun.misc.resources.Messages_fr"
      CNFE: "sun.misc.resources.Messages_it"
      CNFE: "sun.misc.resources.Messages_ja"
      CNFE: "sun.misc.resources.Messages_ko"
      CNFE: "sun.misc.resources.Messages_sv"
      CNFE: "sun.misc.resources.Messages_zh_CN"
      CNFE: "sun.misc.resources.Messages_zh_HK"
      CNFE: "sun.misc.resources.Messages_zh_TW"
      Installing Optional Packages failing with Kernel JRE.

      How to reproduce:
      Try loading the following URL
      http://sqindia.india.sun.com/disk13/deployment/_Raghu/raghu_baseline/StdExtn/windows/Standalone_deployment_plugin_2006_07_26_17_34_53/Admin.Windows_XP.x86/StdExtn/testbase/optpkgs/applethtml/Test_Pure.html

      Exception shown:
      java.lang.NoClassDefFoundError: Could not initialize class sun.misc.ExtensionInfo
         at sun.misc.ExtensionDependency.checkExtensionAgainst(Unknown Source)
         at sun.misc.ExtensionDependency.checkExtensionAgainstInstalled(Unknown Source)
         at sun.misc.ExtensionDependency.checkExtension(Unknown Source)
         at sun.misc.ExtensionDependency.checkExtensions(Unknown Source)
         at sun.misc.ExtensionDependency.checkExtensionsDependencies(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.parseExtensionsDependencies(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.getClassPath(Unknown Source)
         at sun.misc.URLClassPath.getLoader(Unknown Source)
         at sun.misc.URLClassPath.getResource(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:155)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:127)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:618)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:778)
         at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2070)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:707)
         at sun.applet.AppletPanel.run(AppletPanel.java:361)
         at java.lang.Thread.run(Unknown Source)

            enicholasunw Ethan Nicholas (Inactive)
            rnairsunw Raghu Nair
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: