1. jad
Http://varaneckas.com/jad/jad158e.linux.intel.zip Download Jad,
Run permissions for Jad, run
chmod a+x./jad./jad
Cons: Can not decompile confusing, there are many file anti-compilation unsuccessful
2. ded
Http://siis.cse.psu.edu/ded/installation.html
3. Jd-gui
All know this, directly decompile the Java file, but there is no command line
4. Jd-cmd
Https://github.com/kwart/jd-cmd
Where you need to install maven:http://maven.apache.org/download.cgi
Linux installation maven:
Extract the distribution archive, i.e. apache-maven-3.2.3-bin.tar.gz to the directory of your wish to install Maven 3.2.3. These instructions assume you chose/usr/local/apache-maven. The subdirectory apache-maven-3.2.3 is created from the archive. In a command terminal, add the m2_home environment variable, e.g. export m2_home=/usr/local/apache-maven/apache-maven-3.2 .3.ADD the M2 environment variable, e.g. export m2= $M 2_home/bin. Optional:add the MAVEN_OPTS environment variable to specify JVM properties, e.g. export maven_opts= "-xms256m-xmx512m". This environment variable can is used to supply extra options to Maven.add M2 environment variable to your path, e.g. Expo RT path= $M 2: $PATH. Make sure this java_home is set to the location of the your JDK, e.g. export java_home=/usr/java/jdk1.7.0_51 and that $JAVA _ho Me/bin is in your PATH environment variable. Run mvn--version To verify the it is correctly installed.
Use of Jd-cmd:
The program itself gives 3 examples:
examples:$ Java-jar Jd-cli.jar helloworld.classshows decompiled class on a screen$ Java-jar Jd-cli.jar--skipResources- N-g all app.jardecompiles App.jar to App.src.jar; It doesn ' t copy resources to the output Jar,the decompiled classes contain line numbers as comments and the JD-CLI printst He most verbose debug information about decompilation$ Java-jar Jd-cli.jar myapp.jar-od decompiled-ocdecompiles Content of Myapp.jar to directory named ' Decompiled ' and also on Ascreen
But I do a third always prompt
19:47:27.494 WARN jd.core.output.diroutput-class name or Java source is null
So if you want to decompile the class file, use the first one to decompile all the files in the jar with the second
5. Jeb
The commercial version, which is said to be powerful, has command lines and graphics, but charges, performs slowly, consumes memory
http://www.kanxue.com/bbs/showthread.php?p=1300282
Use:
Java-xmx1430m-jar Jeb.jar--automation--script=jebdecompileall.py classes.dex Start command-xmx parameter is the jebdecompileall.py of the Java Virtual machine process memory limit. This Python script calls the Jeb API and deserializes all the class files.
Java anti-compilation Android anti-compilation