![intellij decompile jar intellij decompile jar](https://cdn1.hk-green.cz/kvetinac-iml-svetle-modry-13cm-p3868815.jpg)
If you don't have IntelliJ products installed, either download it now (available on ) or make your own decompiler executable from sources (available on Github). Java -cp fernflower.jar. -hdc=0 -dgs=1 -rsy=1 -lit=1.
![intellij decompile jar intellij decompile jar](https://i.stack.imgur.com/m8BwJ.png)
is the class that contains the main method to run the decompiler. However something like this works: java -cp fernflower.jar. + This JAR is not executable, so we can't run it using java -jar.
Intellij decompile jar zip#
Allowed file extensions are class, zip and jar.Įxample: java -jar fernflower.jar -hdc=0 -dgs=1 -rsy=1 -lit=1 c:\Temp\binary\ -e=c:\Java\rt.jar c:\Temp\source\īe aware that if you pass it a ".jar" file for the source, it will create another ".jar" file in the destination, however, within the new ".jar" file, the files will be. : file or directory with files to be decompiled. Or see an excerpt from the instructions below. To use the IntelliJ Java decompiler from the command line for a jar package follow the instructions provided here:įollow instructions for IntelliJ JD plugin. (you will get the wrong Usage command, but it does work).
Intellij decompile jar mac#
Instead you can use the following command (from a Mac install): java -cp "/Applications/IntelliJ IDEA.app/Contents/plugins/java-decompiler/lib/java-decompiler.jar". The jar file is called java-decompiler.jar and does not include a main manifest. Hope these steps will make the question clear.As of August 2017 and IntelliJ V2017.2, the accepted answer does not seem to be entirely accurate anymore: there is no fernflower.jar to use.
![intellij decompile jar intellij decompile jar](https://i.stack.imgur.com/nIL5r.png)
I cant find the sutialbe option for the asterisk items. **IFernflowerPreferences.UNIT_TEST_MODE to if (ApplicationManager.getApplication().isUnitTestMode) "1" else "0")** IFernflowerPreferences.VERIFY_ANONYMOUS_CLASSES to "1", **IFernflowerPreferences.IGNORE_INVALID_BYTECODE to "1",** **IFernflowerPreferences.INDENT_STRING to indent,** IFernflowerPreferences.MAX_PROCESSING_METHOD to 60, **IFernflowerPreferences.BANNER to BANNER,** IFernflowerPreferences.NEW_LINE_SEPARATOR to "1", IFernflowerPreferences.LITERALS_AS_IS to "1", IFernflowerPreferences.REMOVE_BRIDGE to "1", IFernflowerPreferences.REMOVE_SYNTHETIC to "1", IFernflowerPreferences.DECOMPILE_GENERIC_SIGNATURES to "1", hdc=0 -dgs=1 -rsy=1 -rbr=1 -lit=1 -nls=1 -mpm=60 -lac=1 IFernflowerPreferences.HIDE_DEFAULT_CONSTRUCTOR to "0", Usage: java -jar fernflower.jar * + Įxample: java -jar fernflower.jar -dgs=true c:\my\source\ c:\my.jar d:\decompiled\įinally, The studio's nest options for decompiler list as follows according IdeaDecompiler.kt Third, run it, you will get the usage java -cp "/Applications/Android Studio.app/Contents/plugins/java-decompiler/lib/java-decompiler.jar". Applications/Android Studio.app/Contents/plugins/java-decompiler/lib/java-decompiler.jar Second, we can find it in the plugins directory. You can find the decompier is Fernflower. I made another instruction clue step by step.įirst, open your studio and search.
![intellij decompile jar intellij decompile jar](https://i.ytimg.com/vi/3PjxFGRXTFs/mqdefault.jpg)
Follow instructions for IntelliJ JD plugin.