java -jar jarfile does not find Main-Class attribute

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: 1.2.0
    • Component/s: core-libs


      arthur.frechette@East 1998-05-04

      Prob: java -jar T3.jar does not find Main-Class attribute when it clearly
            exists in manifest file. This is a test regression.

      Test Information
      ----------------
      Baselevel: java full version "JDK-1.2beta4-D"
      Platform: Solaris 2.6
      Test Suite: javax test suite
      Test Case: javax/tests/dwn/T3

      Executing:
      java -jar T3.jar

      Returns the following:
      No 'Main-Class' attribute found or JAR file does not exist: T3.jar

      The manifest file
      -----------------
      Manifest-Version: 1.0
      Main-Class: T3
      Class-Path: ../../../ext/e1/e1.jar ../../../ext/e6/e6.jar ../../../ext/e7/e7.jar ../../../ext/util/util.jar

      You must bring over the latest version of the javax test suite.

      bringover -p /net/labzap.east/files7/JDK_tests/JDK1.2/javax -w $HOME/workspaces/javax .

      This test use to pass in a previous build

            Assignee:
            Unassigned
            Reporter:
            Art Frechette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: