-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 5.0
-
Component/s: tools
-
b49
-
x86
-
windows_xp
My manifest file in the jar file has the following entries:
Main-Class: MyMainClass
Name: com/sun/star/Loader.class
Main-Class: MyClass
If I run 'java -jar myjarfile.jar', then the main method of MyClass is started instead of the
main method of MyMainClass. Probably it's a bad idea to name the com/sun/star/Loader.class entry
attribute also Main-Class, but this worked in Java 1.4, but doesn't work in Java 1.5 beta.
Please adjust the priority and severity of this bug accordingly.
###@###.### 2004-03-23
Main-Class: MyMainClass
Name: com/sun/star/Loader.class
Main-Class: MyClass
If I run 'java -jar myjarfile.jar', then the main method of MyClass is started instead of the
main method of MyMainClass. Probably it's a bad idea to name the com/sun/star/Loader.class entry
attribute also Main-Class, but this worked in Java 1.4, but doesn't work in Java 1.5 beta.
Please adjust the priority and severity of this bug accordingly.
###@###.### 2004-03-23