Decompiling Java class files using MultiArc and JAD

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
TychoBarfy
Senior Member
Senior Member
Posts: 350
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Decompiling Java class files using MultiArc and JAD

Post by *TychoBarfy »

If someone has a smarter solution for MultiArc.ini, Button bar or Starter menu please post it here.
A cool batch file for extracting the whole tree like described in JAD's readme.txt would also be nice Sheepdog :)

Code: Select all

; -----------------------------------------------------------------------
; JAD 1.5.8g for Windows Copyright (c) 1997-2001 Pavel Kouznetsov
; http://www.kpdus.com/jad/winnt/jadnt158.zip
; Not perfect but sometimes usefull.
; Once a java class file is opened with Ctrl+PgDn and seeing nothing,
; you'll find every single viewed java file with proper name and
; extension in a folder called _jad_output_ generated in the same
; dir as your target panel (but sometimes in the source panel 
; - don't know why).
; Line in [PackerPlugins] section of WINCMD.INI
; class=64,%COMMANDER_PATH%\plugins\wcx\multiarc\multiarc.wcx
; -----------------------------------------------------------------------
[JAD]
Description="JAD single class file"
Extension=class
Archiver=%COMMANDER_PATH%\packer\jad.exe
ID=CA FE BA BE
IDPos=0
Debug=0
List=%P -o -d_jad_output_ -sjava %AQ
; -----------------------------------------------------------------------
TychoBarfy
Senior Member
Senior Member
Posts: 350
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Post by *TychoBarfy »

OK OK OK, I know its crap :oops:
But a nice approach on how one can use "List=" in MultiArc :D

Its better to use in the Button bar and now I shut up :P

Code: Select all

button73=%COMMANDER_PATH%\icons\used\java-single.ico
cmd73=%COMMANDER_PATH%\tools\jad.exe
param73=-o -sjava -d%T %P%O.class
menu73=Decompile single Java class file into target panel
button74=%COMMANDER_PATH%\icons\used\java-tree.ico
cmd74=%COMMANDER_PATH%\tools\jad.exe
param74=-o -r -sjava -d%T\_jad_output_ %P%/**/*.class
menu74=Decompile whole Java class tree into target panel
User avatar
Nigurrath
Senior Member
Senior Member
Posts: 225
Joined: 2003-02-05, 12:41 UTC

Post by *Nigurrath »

a native lister plugin showing the decompiled class file into the lister would be absolutely great!! I mean without having to install brunch of converters like with (PDF)filter or whole java interfaces like with the one distributed with the java interface (http://www.totalcmd.net/plugring/tc_java.html)..
TychoBarfy
Senior Member
Senior Member
Posts: 350
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Post by *TychoBarfy »

Showing the class file with the name of the class.
SampleClass with shown SampleClass.class
Post Reply