Solved

Signed jar files

Posted on 2004-04-06
6
872 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Non-recursive backtracking, using a stack 1 103
Java and GPO 11 73
custom annotations 9 33
Should localization be done inside spring controller 5 12
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

863 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now