site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Uniqs:
731
Share Topic
Posting?
AuthorAll Replies


ame055

join:2003-07-01
ME

.JAR viewer

Hi, I have some .Jar files. I can run them using codewarrior but i cannot view the code.

is there an easy to use program that will convert .JAR files to .JAVA so that i can look at the code.

I'm new to java so i dont know what Jar files are.


MidrangeMan

join:2000-09-22
Schaumburg, IL

1 edit

Sorry if this is a dumb question ... but if you don't know what a JAR is, why do you want to decompile one?

FWIW: »kpdus.tripod.com/jad.html has a bytecode decompiler.



GILXA1226
Premium,MVM
join:2000-12-29
London, OH

reply to ame055
Can't be done. A .jar file is nothing more than a .zip file that holds precompiled classes. You can open up a jar file with anything that can open a zip file. As for decompiling the .class files that will be in the .jar file... there are legal issues that come into that. Why do you need to do this?
--
10010 Wheels on a Bigrig



ame055

join:2003-07-01
ME

im taking a Java class. We are building simple Java applications. We get .JAR applications which are basically samples to show what is needed.

I managed to unzip the jar file with winrar. But i want to decode the .class file so that i can look at the way the application was done.
Im still a beginner so i find it easier to learn JAVA by looking at DEMO's of applications. Thats why i want to decode the .class file.



GILXA1226
Premium,MVM
join:2000-12-29
London, OH

I know of no .class -> .java decompilers, mainly because of the legality issues of them. You might try searching google. Also, and I can't remember if Java has one I know MS does for .net, there might be a program that will give you the skeleton structure of the code, but not any of the nitty gritty details.
--
10010 Wheels on a Bigrig



ame055

join:2003-07-01
ME

alright. thanks


Sunday, 27-May 07:24:00 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 12.5 years online © 1999-2012 dslreports.com.
Most commented news this week
Hot Topics