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 Java 8 in Action this week in the Java 8 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: 20
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
Bartender

Joined: Oct 14, 2005
Posts: 18161
    
    8

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: 20
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
Bartender

Joined: Oct 14, 2005
Posts: 18161
    
    8

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
 
Similar Threads
to remove dependency from third part jars
Singed applet issue.
Java Profiling-MemoryLeakTesting using JRat
Applet displays grey box, but applet is started
use third party jars in GWT App