Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do you edit a jar file?

Posted on 2006-06-26
5
Medium Priority
?
222 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 2000 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

927 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