Solved

Signed jar files

Posted on 2004-04-06
6
877 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
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
map related example 6 55
servlet web applications   metadata-complete="true" or false 3 104
ejb entity bean example issue 2 16
Java basic valueOf question 1 29
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
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…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

789 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