aspose file tools
The moose likes Applets and the fly likes Sing applet with thrid party jars Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Sing applet with thrid party jars" Watch "Sing applet with thrid party jars" New topic
Author

Sing applet with thrid party jars

Ionut Barau
Greenhorn

Joined: Feb 18, 2008
Posts: 25
    
    1
Hi guys! I have an unsigned applet located in imageScanApplet.jar, that uses multiple third party jars. I want to sign the applet so i can use it without modifying java policy file. I have tried packing all the jars in one but obviously it doesn't work due to the manifest files in each jar. How can I achieve this??
Paul Clapham
Sheriff

Joined: Oct 14, 2005
Posts: 19553
    
  10

The normal (and simple) solution is to sign all the jars with the same signature, and to deploy the applet and its jars in the usual way.
Ionut Barau
Greenhorn

Joined: Feb 18, 2008
Posts: 25
    
    1
As far as i know and also tried, the signature works only for 1 jar Note that the jars are third party and as far as i know you cannot sign them if it is not permitted by the license....but I will try again an post back.
Paul Clapham
Sheriff

Joined: Oct 14, 2005
Posts: 19553
    
  10

Ionut Barau wrote:As far as i know and also tried, the signature works only for 1 jar

It's hard to tell what that means. Did you try something? What was it? What happened then?
Note that the jars are third party and as far as i know you cannot sign them if it is not permitted by the license.

True, but I think you would have a hard time finding a licence which prevents you from signing the code.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sing applet with thrid party jars