• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem signing executable jar's  RSS feed

Dave Robbins
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
I want to deploy an app as a webstart application that will need to be signed
I've floowed these directions to create an executable jar file
at this point it runs properly from the command line
java -jar myapp.jar
but when I sign it, it stops runing, I get this error
Failed to load Main-Class manifest attribute from myapp.jar
I used these direction for creating the key
and everything seems to work correctly except that tricky part at the end where my app wont run

here are my commands to create and sign the jar
jar cmf mainClass myapp.jar myapp
now it runs with this "java -jar myapp.jar"
jarsigner -keystore keystore myapp.jar me

now "java -jar myapp.jar" fails
Any Ideas???
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!