We help IT Professionals succeed at work.

How to sign jar files

tbboyett
tbboyett asked
on
Medium Priority
209 Views
Last Modified: 2012-05-05
Ok this may be an easy question but I have some jar files that I need to sign before using them with WebStart.  Can anyone tell me an easy way to get them signed.  I also am using JBuilder if it can be done with in that.

Thanks
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2016

Commented:
Use Ant signjar task
CERTIFIED EXPERT
Top Expert 2016

Commented:

Author

Commented:
Do I need to install Ant in order to do this or can it be done just from a command line?
CERTIFIED EXPERT
Top Expert 2016

Commented:
Yes, although 'install' is a bit of a heavy word. It's just another set of jars

Author

Commented:
Can you give me the quick version of installing Ant?
CERTIFIED EXPERT
Top Expert 2016
Commented:
Download, unzip it and put the directory with ant.cmd in your path

http://apache.mirror.positive-internet.com/ant/binaries/apache-ant-1.6.5-bin.zip

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Mick BarryJava Developer
CERTIFIED EXPERT
Top Expert 2010
Commented:
Mick BarryJava Developer
CERTIFIED EXPERT
Top Expert 2010

Commented:
> Do I need to install Ant in order to do this or can it be done just from a command line?

of course you don't need to install ant :)

The link above covers everything you need to know

let me know how you get on
CERTIFIED EXPERT
Top Expert 2016

Commented:
>> Do I need to install Ant in order to do this or can it be done just from a command line?

If you meant do you need to install Ant to sign a jar, then the answer is no, but it will make it much easier and you'll be able to use it for many other things too
Mick BarryJava Developer
CERTIFIED EXPERT
Top Expert 2010

Commented:
> and you'll be able to use it for many other things too

the question is about signing a jar, please stay on topic.
Principal Technologist
CERTIFIED EXPERT
Commented:

Author

Commented:
I will check these out and get back as soon as i can

Author

Commented:
I appologize for the delay here, but I have been working on more important things the past few days.  I will try to get to this today or tomorrow.
Mayank SPrincipal Technologist
CERTIFIED EXPERT

Commented:
Sure, no problem.

Author

Commented:
I decided to use a Macintosh tool to do the job but all information was very useful, thanks guys
Mick BarryJava Developer
CERTIFIED EXPERT
Top Expert 2010

Commented:
Life is so much easier on a Mac :)
CERTIFIED EXPERT
Top Expert 2016

Commented:
:-)
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.