Solved

How do you edit a jar file?

Posted on 2006-06-26
5
198 Views
Last Modified: 2008-03-17
Hi,

I have obviously never programmed in Java.  I want to know if I have a .jar file that represents an applet, can I edit it and what program can I use to do that?

Thanks,
Bonnie
0
Comment
Question by:Bonnie_K
  • 4
5 Comments
 
LVL 24

Expert Comment

by:sciuriware
ID: 16986938
A .jar is a container filled with .class files and optionally some resources.
It is not edited but created from those files.

Editing? *.java only.

;JOOP!
0
 
LVL 24

Expert Comment

by:sciuriware
ID: 16986949
If there's an applet (class file) in your .jar,
where is the source?
You could extract the .class file from the .jar (jar command)
and reverse engineer it , but that's a hell of a job.

;JOOP!
0
 
LVL 24

Accepted Solution

by:
sciuriware earned 500 total points
ID: 16986967
So, a .jar is a 'way' to have a JAVA program to sit in a single file,
compared to binaries and .exe files.
But it can also contain all pictures, sounds and text files you need to run the program.


;JOOP!
0
 

Author Comment

by:Bonnie_K
ID: 16986997
Thanks sciuriware.  That helps. I'm looking for a chat server and found one that has an applet for the client.  I wanted to edit the user interface, but it looks like it is not something I can do.  
0
 
LVL 24

Expert Comment

by:sciuriware
ID: 16987044
You may expect that the applet is to show up in the browser at the client's side.
In fact, the .jar is sent to the browser, unpacked and executed
in the context of the browser.
I suppose that will only give you same basic functions.
To get further, dig into portlets: a multi-window approach
with that applet just in a corner.

Success!

;JOOP!
0

Featured Post

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

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
sumDigits  challenge 7 62
strDist challenge 35 84
JAVA part two 5 41
Image decoding from Camera 3 47
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
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…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

760 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

21 Experts available now in Live!

Get 1:1 Help Now