Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using jarsigner

Status
Not open for further replies.

RichieMac

Programmer
Joined
Aug 18, 2004
Messages
61
Location
GB
Hi all,

I've been trying to sign a jar file so i can build an applet that reads files from a local (for now) filesystem. I've created the .jar and have tried the following:

keytool -genkey -alias TestApplet -validity 365
jarsigner TestApplet.jar TestApplet[/color red]

but I get the following error:

jarsigner: attempt to rename TestApplet.jar to TestApplet.jar.orig failed[/color red]

Could anyone out there point me in the right direction cause me lost.
 
What OS are you running ?

Sounds like a permissions issue ...

--------------------------------------------------
Free Database Connection Pooling Software
 
Yeah sorted now. I had to set my classpath to the directory that the file was in. Seems to working fine now so this must have been the problem.

Cheers guys
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top