Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Signed jar files

Posted on 2004-04-06
6
Medium Priority
?
883 Views
Last Modified: 2008-03-10
Hi,

I have some jar files that were signed by a previous developer., and I have signed them too. When I tried to load the jar files through Java Web Start, it complains of more than one certificate has been used to sign the resources.

Is there a way to either remove the signature of the previous person or just unsign the whole jar file?

Thanks,
sata
0
Comment
Question by:sata
  • 3
  • 2
6 Comments
 
LVL 92

Accepted Solution

by:
objects earned 210 total points
ID: 10772073
re-jar it.
ie. unjar it, and create a new jar with the contained class files.
0
 
LVL 1

Author Comment

by:sata
ID: 10772096
oh ok, it's the jar -xvf right?

BTW, is there a quick way to jar files? if i unjar them, I want to be able to quickly re-jar the whole thing...
0
 
LVL 92

Expert Comment

by:objects
ID: 10772117
> it's the jar -xvf right?

y

> BTW, is there a quick way to jar files?

i use ant
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 30

Expert Comment

by:Mayank S
ID: 10772244
Check out: Apache Ant - http://ant.apache.org/ (you can also download from there)

A beginner's guide to Ant - http://www.iseran.com/Java/ant/tutorial/ant_tutorial.html
0
 
LVL 1

Author Comment

by:sata
ID: 10811351
I realize that jar -cvf x.jar /dir1 can jar the whole director :)
0
 
LVL 92

Expert Comment

by:objects
ID: 10817908
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Suggested Courses

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question