Link to home
Start Free TrialLog in
Avatar of Bonnie_K
Bonnie_K

asked on

How do you edit a jar file?

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
Avatar of sciuriware
sciuriware

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!
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!
ASKER CERTIFIED SOLUTION
Avatar of sciuriware
sciuriware

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bonnie_K

ASKER

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.  
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!