Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12409 Discussions

missing a "Permissions" manifest attribute??

Altera_Forum
Honored Contributor II
810 Views

 

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 

0 Kudos
0 Replies
Reply