Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8172821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T21:54:14+00:00 2026-06-06T21:54:14+00:00

I got problem when trying to load a jar that has been compressed using

  • 0

I got problem when trying to load a jar that has been compressed using pack200. I found the error that my jar file cannot be verified after I use unpack200.

Here is the scenario:

  1. Create keystore keytool -keystore key -genkey -alias hj
  2. Sign the jar jarsigner -keystore key HelloJApplet.jar hj
  3. Compress that jar file: pack200 HelloJApplet.jar.pack.gz HelloJApplet
  4. Uncompress and rename: unpack200 HelloJApplet.jar.pack.gz HelloJAppletUnpack.jar
  5. Verify the jars: jarsigner -verify HelloJApplet.jar and jarsigner -verify HelloJAppletUnpack.jar

For the HelloJApplet.jar it showed jar verified. and for HelloJAppletUnpack.jar it showed an error jarsigner: java.lang.SecurityException: SHA-256 digest error for org/ff/ffw/app/
HelloJApplet.class

Anything wrong with what I do so far? Please correct me what point that I’m missing or wrong.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T21:54:16+00:00Added an answer on June 6, 2026 at 9:54 pm

    To sign a pack200 jar, you need to pack+unpack (i.e. repack), sign and pack again. see http://wiki.eclipse.org/Pack200#Compression_and_Signing or http://www.java.net/node/679859

    pack200 --repack b.jar a.jar
    sign b.jar
    

    (p.s. there was a bug in 5.0 and fixed in 5.0u1. upgrade if needed)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a problem with NHibernate trying to load a small hierarchy of data.
I got problem with sending data in Android using httpPost. I found some example,
I've got an SSRS report that I am trying to load into a ReportViewer
we've got a real confusing problem. We're trying to test an SQL Bulk Load
Got a problem with a query I'm trying to write. I have a table
im trying to do somthing and got into a problem. i got a function
I've got this odd problem with jQuery. I'm trying to let the change of
I've got stuck in a problem with gflags when trying to find some memory
I'm trying to make a appcache file but got some problems... I've added the
I've got a problem with trying to make a part of the image transparent

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.