Solved

How do you edit a jar file?

Posted on 2006-06-26
5
208 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

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…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This video teaches viewers about errors in exception handling.
Suggested Courses

751 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