-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.2.0
-
sparc
-
solaris_2.6
All of the downloaded test cases fail as they are unable to locate
the "Main-Class" attribute in the manifest file.
This is a regression from beta3.
For example:
java -jar T10.jar
No 'Main-Class' attribute found or JAR file does not exist: T10.jar
more manifest.mf
Manifest-Version: 1.0
Main-Class: T10
Class-Path: ../../../ext/e1/e1.jar ../../../ext/e2/e2.jar ../../../ext/util/util.jar
the "Main-Class" attribute in the manifest file.
This is a regression from beta3.
For example:
java -jar T10.jar
No 'Main-Class' attribute found or JAR file does not exist: T10.jar
more manifest.mf
Manifest-Version: 1.0
Main-Class: T10
Class-Path: ../../../ext/e1/e1.jar ../../../ext/e2/e2.jar ../../../ext/util/util.jar
- duplicates
-
JDK-4134638 java -jar jarfile does not find Main-Class attribute
-
- Closed
-
-
JDK-4135904 file: URL's don't handle .. properly
-
- Closed
-