Hi everyone
I'm really embarrassed to ask the following small problem but really its frustrating.
I'm trying to convert a Hello world program to jar file.
my test.java contains:
manifest file contains:
Manifest-Version: 1.0
Main-Class:
test
command used for making jar:::::
jar cmf test.mf test.jar test.class test.java
output of command jar tf test.jar:::::::
META-INF/
META-INF/MANIFEST-MF
test.class
test.java
If i give
java -jar test.jar then i'm getting:
Failed to load Main-Class manifest attribute from test.jar
this is crazy. please help me
thanks in advance