score:1

what i would do is: create a dummy project in your netbeans and export it as a runnable jar. then take your manifest and the dummy-project manifest and compare it.

manifests are really a pain in the code. they need to be absolutely correct formatted. take care on trailing whitespaces, missing/additional empty rows etc...

maybe check the java version, you are using. make sure, that your command line uses the same one, like setup in your environment variables. maybe there are doubled declarations...

which java.exe is associated with *.jar files in windows explorer? try exactly this java.exe to run your jar from the cli. same issue then?

good luck!


Related Query

More Query from same tag