Solved

Signed jar files

Posted on 2004-04-06
6
870 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 30

Expert Comment

by:mayankeagle
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

762 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

19 Experts available now in Live!

Get 1:1 Help Now