LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux based java decompiler to be called from shell script (https://www.linuxquestions.org/questions/linux-newbie-8/linux-based-java-decompiler-to-be-called-from-shell-script-735469/)

rakeshrau 06-25-2009 01:47 AM

Linux based java decompiler to be called from shell script
 
I am writing a shellscript in which I want to obtain original Javacode from a bulk of jar files.I am unjaring them successfully and then I have to decompile the class files to obtain the original java code.

While using "javap" from shellscript I am not getting the complete java code.Therefore I have to use some other Linux based java decompiler which can be called from shellscript to perform the bulk decompilation.

Please provide me with some Linux based decompiler(preferably freeware) which I can call from shell-script to act upon my class files.

r0b0 06-25-2009 07:46 AM

I use jad http://www.varaneckas.com/jad - no source code but binaries available (even statically linked which should always work as long as you are on a supported architecture)

fpmurphy 06-25-2009 08:40 AM

Here is a pointer to various Linux based Java decompilers: http://strategoxt.org/Transform/JavaDecompiler


All times are GMT -5. The time now is 02:24 PM.