Question

I ask because I have an unsigned jar that runs and a signed version that doesn't. Looking at the manifests, I see no main class thing for the signed one.

Do I have to run a signed jar from web start?

Was it helpful?

Solution

Not necessarily, but if you don't have a Main-class: in the manifest, you can't run it as an executable. If you know the main class, you can run it using the java executable, eg

$ java -classpath ./myjar.jar MyClass

OTHER TIPS

Sounds like you build process is updated the manifast.mf

you need to sign your jar to run outside of the web start sandbox......

google here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top