Solved

Signed jar files

Posted on 2004-04-06
6
878 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 70 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
Technology Partners: 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
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…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

735 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