-
How to open a jar file
Hi,
I'm looking for a tool to open up files with .jar extension so that I can
get the original source code for all the classes. Can that be possibly done
(coz that's the only file left for me to read and modify the original source
code) ? Thanks in advance.
Lo
-
Re: How to open a jar file
Yes, any tool that can read ZIP files can also read JAR files, because they
are in the same format.
Lo <harry@startechmm.com> wrote in message news:39eacc7c$1@news.devx.com...
>
> Hi,
>
> I'm looking for a tool to open up files with .jar extension so that I can
> get the original source code for all the classes. Can that be possibly
done
> (coz that's the only file left for me to read and modify the original
source
> code) ? Thanks in advance.
>
> Lo
-
Re: How to open a jar file
you can open .jar archive using SUN JDK's jar command. But you can read only
images or something like that stuff otherwise it contains .class file which
is byte code. Have fun
-
Re: How to open a jar file
"Lo" <harry@startechmm.com> wrote:
>
>Hi,
>
>I'm looking for a tool to open up files with .jar extension so that I can
>get the original source code for all the classes. Can that be possibly done
>(coz that's the only file left for me to read and modify the original source
>code) ? Thanks in advance.
>
>Lo
Hi!
If u are working on windows o/s.Then press shift key and then right click
mouse button,select open with and there chose win zip
and press ok.This shows you all the files in the jar.
-
Re: How to open a jar file
"Lo" <harry@startechmm.com> wrote:
>
>Hi,
>
>I'm looking for a tool to open up files with .jar extension so that I can
>get the original source code for all the classes. Can that be possibly done
>(coz that's the only file left for me to read and modify the original source
>code) ? Thanks in advance.
>
>Lo
Hi LO,
if you are working with the command line ( MS-dos window or Linux) use:
jar tvf <filename>.jar to find the content of the file without extracting..
If you for some reason want to extract the class files in the jar then
you can use the :
jar xvf <filename>.jar
This is easy to use. Note that the paths are created so you don not have
to
worry about that.
//Mikael
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks