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

Running non-executable .jar file displays no message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.2.0
    • tools
    • jar
    • x86
    • windows_95



      Name: diC59631 Date: 11/30/98


      The association created for .jar files on Win32
      systems invokes javaw.exe. However, if you
      double-click a file that does not contain a
      "main-class" attribute (ie an applet file), then
      you get no response. Nothing appears to load and
      there is no error message.

      In this situation, javaw should display a message
      box with some sort of user-friendly message. "Failed
      to load Main-Class manifest attribute from xxx.jar"
      may be an acceptable message for developers, however
      it will surely confuse our customers. I suggest
      the following message instead: "The file xxx.jar
      does not appear to contain an executable application."
      (Review ID: 43480)
      ======================================================================

            zlisunw Zhenghua Li (Inactive)
            dindrigo Daniel Indrigo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: