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

(launcher) If file not found, "java -jar jarfile" should say "jarfile not found"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.3.0
    • 1.2.1
    • hotspot
    • kestrel
    • generic
    • generic



      Name: krT82822 Date: 04/26/99


      orig synopsis: "java -jar jarfile prints misleading message if it can't find jar"

      java -jar imaginary.jar
      Failed to load Main-Class manifest attribute from
      imaginary.jar

      Surely this should say something like
      Couldn't find file imaginary.jar
      (Review ID: 57498)
      ======================================================================

            apalanissunw Anand Palaniswamy (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: