JavaDecompiler 1.1, a Total Commander plugin
This plugin allows Total Commander to both decompile and navigate java .class files. It is a packer plugin, meaning you can “enter” these files as archives.
But… a .class file is not an archive, is it?
It is not, .class files do NOT contain other files. However this plugin “hacks” the TC packer interface so that class files appear to be archives containing all of:
- a file “classname.java” which you can view (F3) or copy (F5). This java is the decompiled class file
- a list of directories representing all the methods, fields, constructors, member classes and interfaces of the class. This way you can have a very quick view of the class structure
- a couple more directories show the system properties and environment variables (this info is not directly related to the class, but it could be useful)
In the screenshot, on the left panel we have entered to a .class file. The sub-directories contain members of the class. Decompiled class is viewed on the right panel.
The plugin uses CFR 0.152 decompiler as a library, so it does not need any extra executables or processes.
Download and resources
- Download the latest release in this project
- Plugin page at totalcmd.net
- JavaDecompiler Github page
- JavaDecompiler Github project
- Thread for discussing this plugin at the TC forum
- This is a work in progress, you can help with things to do
- History of changes
Troubleshooting guide
This interface and all derived plugins are written in Java, so you need to have installed a Java Runtime Environment (JRE). The Java plugin interface and derived plugins were tested on Oracle (Sun) JRE 1.8 (jre-8u311-windows-x64.exe).
In case you have any of the following issues, refer to the Troubleshooting guide
- In case you have more than one Java plugin installed
- Be sure you use the same (32/64) platform for JVM and TC
- In case you have both TCx64 and TCx32 installed
- Error Java Runtime Environment is not installed on this Computer
- Error LoadLibrary Failed
- Error Starting Java Virtual Machine failed
- Error Class not found class=’tcclassloader/PluginClassLoader’
- Error Initialization failed in class…
- Error Exception in class ‘tcclassloader/PluginClassLoader’
- Error Access violation at address…
- Error Crash in plugin … Access violation at address…]
For other issues you can open a project issue or contact me - see next paragraphs.
Issues and things to-do
This is a work in progress. Help wanted! - in particular with Visual C++ issues.
- Refer to things to do for JavaDecompiler plugin.
- Also refer to things to do for java plugin interface.
- Check also the issues page.
- Java Plugin Interface’s issues page.
Contact
If you have any comment, suggestion or problem regarding this java plugin, you can contact me at:
- Thread for discussing this plugin at the TC forum
- Github project issues page
- email: moises.castellano (at) gmail.com
Please detail the specific (including if 32 or 64-bit) version of: Java plugin interface, Total Commander and JRE that you are using.
Disclaimer
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
License
Licensed under the GNU General Public License v3.0, a strong copyleft license: https://github.com/moisescastellano/tcmd-java-plugin/blob/main/LICENSE