- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
https://community.oracle.com/resources/images/gamification/global/levels/redsquare-1.png (https://community.oracle.com/people/3038287?customtheme=java) 3038287 (https://community.oracle.com/people/3038287?customtheme=java) Jan 28, 2016 7:13 PMI have been working through the steps of creating a .jar file and signing it and adding it to my embedded web server project. This is a pretty mature product but we’ve never used signed files and as you may know running unsigned applets is getting harder and harder to do, it’s driving our customers crazy so we really need to learn how to sign the applets and revise the code. I’ve combined three .class files into a .jar file. I’ve used jarsigner and the code signing certificate from Comodo to sign it. Since this is an embedded webserver I then take the signed jar files and all my .htm and .xml and .png files and run them through a perl script that creates a big .h of constant strings file that I can compile into my code. So, the error I get when I try to run the applet on my web server is “Your security settings have blocked an application from running due to missing a “Permissions” manifest attribute in the main jar.” I know that there may be a MANIFEST.MF files … somewhere, I’m not using one now. Is there some attribute missing when I create the .jar file? The command I use to create it is: jar cvf0 myjar.jar applet1.class applet2.class applet3.class Any help would be appreciated. Mike
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page