Re: How to locate java source files from jar files
John T wrote:
Steve W. Jackson wrote:
In article <1173201888.996490.199630@30g2000cwc.googlegroups.com>,
ankur.sanghi@gmail.com wrote:
Hi,
I am a complete newbie here (worked for all my life in Mainframes/
Unix). I want to locate the actual source files for one of the
applications I am currently working on.
All I know from the logs is the location of the jar files. Is it
possible to figure out where the source could be located by looking at
the jar files? OR
Is there some other way to backtrack where the source files are?
Obviously, this is all arising from poor documentation about the
system...
Please help.
Regards,
Ankur
The question presumes that a jar file is accompanied by source code.
That's not correct. Otherwise, any software would have to provide its
source code. Many open source products offer the source code, but
some people simply want to use it by getting the jar and don't need or
want the source.
= Steve =
Google search on java decompiler. Use with caution...no comments are
maintained if you use the decompiler. And it's not kosher to run a
decompiler on code that you don't own or have the right to modify.
Before doing that, I would Google search on the name of the application,
in case it is open source.
Patricia