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

NoClassDefFoundError thrown when application is launched from desktop shortcut on amd64 winXP/2003

XMLWordPrintable

    • x86
    • windows_2003

      JDK-Info:
      ---------
      java version "1.6.0-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b50)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b50, mixed mode)


      Operating System:
      -----------------
      AMD64 Windows 2003/XP


      Steps to Reproduce:
      -------------------
      1) Install 32 bit jre b50 on AMD64 Windows 2003/XP
      2) Clean cache (\rm -rf ~/.java)
      3) Launch a JNLP application
      (./javaws http://java.sun.com/products/javawebstart/apps/notepad.jnlp)
      4) Launch Cache viewer (./javaws -viewer)
      5) Select the application and create shortcut
      6) Double click on the desktop icon of the application

      The Application fails to launch (A command prompt window displays the error message and exits immediately)

      "NoClassDefFoundError" is thrown as the application searches for path ..\Sun\Java\Deployment\cache\6/0\ instead of ..\Sun\Java\Deployment\cache\6.0\

      Snapshot of error message command prompt window attached (notepad_noclass.gif)

            pwusunw Paul Wu (Inactive)
            rkumarsunw Ram Kumar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: