Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Beginning Java and the fly likes Signing a jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Signing a jar" Watch "Signing a jar" New topic

Signing a jar

Mushu Wu

Joined: Dec 02, 2003
Posts: 12
Hi. I get errors when trying to sign a jar.

Here's the sequence of events (I'm on win xp):
I envoked the jarsigner.
C:\****path to jar*****\>jarsigner myjar.jar Mushu
The prompt responded and I entered my passphrase
Enter Passphrase for keystore:****
The prompt throws error
jarsigner error: java.lang.RuntimeException: keystore load: C:\*******path to my xp user thing*******\.keystore (The
system cannot find the file specified)
Why am I getting this error and how can it be fixed?

Chengwei Lee
Ranch Hand

Joined: Apr 02, 2004
Posts: 884
You might wish to consult this URL for more information on JAR signing.
Hope this helps.
[ May 05, 2004: Message edited by: Cheng Wei Lee ]

SCJP 1.4 * SCWCD 1.4 * SCBCD 1.3 * SCJA 1.0 * TOGAF 8
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Moving this to the Intermediate forum...
[ May 05, 2004: Message edited by: Dirk Schreckmann ]

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
I agree. Here's the link:
subject: Signing a jar
jQuery in Action, 3rd edition