Java Plugin Interface 64 bits 2.3
Описание
Этот интерфейс позволяет писать плагины для Total Commander (WLX, WFX, WDX и WCX) на Java.Авторские права на оригинальный Java Plugin принадлежат Ken Handel (C) 2006-2007: он также подготовил множество примеров java-плагинов любого типа: просмотрщика, архиваторных, системных и контентных, теперь обновлённых до 64-разрядной версии.
Однако разработчик забросил проект в 2007 году (сейчас 2021-й) и с тех пор недоступен (некоторые люди давно пытались с ним связаться). 64-разрядных версий этого плагина не было, потому что, как уже сказано, проект был заброшен в 2007 году, а 64-разрядный Total Commander появился около 2011 года. Это делало плагин непригодным для большинства людей, которые сегодня используют 64-разрядный TC.
Поскольку лицензия это позволяет, мы взялись за проект; особая благодарность Ghisler (автору TC) за перекомпиляцию dll. Вы можете посмотреть обсуждение на форуме TC
Если хотите посмотреть плагины, разработанные с помощью этого интерфейса, взгляните на DiskDirCrc или Java Decompiler. Список из более чем 20 примеров плагинов, разработанных на Java, можно найти по адресу https://github.com/moisescastellano/tcmd-java-plugin/blob/main/examples_64bit.md.
Дополнительная информация на проекте GitHub для этого плагина.
Что нового
=====================================
v2.3 - 2022-jan-14
------------------
- New [Troubleshooting guide for Java plugins](https://moisescastellano.github.io/tcmd-java-plugin/troubleshooting) added
- Javalib folder now hosts last version of tc-classloader-x.x.x.jar
- Refer to Troubleshooting guide: "In case you have more than one Java plugin installed" section
- PluginClassLoader changes:
- new method getVersionNumber to avoid problems when multiple java plugins are installed with different javalib versions
- define package for classes so that getpackage call (e.g. from Tika libraries) does not fail
- resource files (such as configuration yamls) in plugin directory are now available as resourceStream (getResourceAsStream)
- There are now 21 [plugins based on the Java interface](https://moisescastellano.github.io/tcmd-java-plugin/examples_64bit):
- [DiskDirCrc](https://github.com/moisescastellano/diskdircrc-tcplugin)
- [JavaDecompiler](https://github.com/moisescastellano/javadecompiler-tcplugin)
- The 19 original examples by Ken Handel
- Issue "JRE not found" was solved and documented in main README.md
- for more info refer to JavaDecompiler [issues page](https://github.com/moisescastellano/javadecompiler-tcplugin/issues/1)
- errormessages.ini added to (new) resources folder
- corrected typos on english and german messages
v2.2 - 2021-dec-30
------------------
- Java plugin interface is now hosted at [Github pages](https://moisescastellano.github.io/tcmd-java-plugin/)
- Source code is now available at [Github](https://github.com/moisescastellano/tcmd-java-plugin)
- src\vc-project: Visual C++ source for creating the dll (the plugin core is this dll renamed to wlx, wfx, wdx or wcx)
- src\tc-apis: The Java plugin API source code
- src\plugins: Java source code for each example plugin, previously sparsed in multiple .jar files
- Frozen release-1.7 branch is intended to keep **original code by Ken Handel**, java plugin interface version 1.7.
- More info regarding this source code / git branches / folder structure at [src/README.md file](src/README.md)
- Further testing done on the [example plugins](https://moisescastellano.github.io/tcmd-java-plugin/examples_64bit)
- ImageContent plugin was missing swt library
- Logging is updated to SLF4J for each plugin (previously was based on deprecated Apache commons-logging implementation).
- Logging now works for Log4j2 via SLF4J.
- Logging is disabled by default, any logging implementation has been removed from the plugin itself.
- Documentation about [how to configure logging for plugins](https://github.com/moisescastellano/tcmd-java-plugin/blob/main/logging.md).
- PluginClassLoader was incomplete (missing e.g. findResources implementation). It has now been completed
v2.1 - 2021-dec-18
------------------
Java plugin examples by Handel are now updated and available at [Github](https://moisescastellano.github.io/tcmd-java-plugin/examples_64bit)
- cleaning from extra libraries not specific for each plugin, most of them are now under 1 Mb
- further testing have been done, look at the 64-bit update comment in the [table](https://moisescastellano.github.io/tcmd-java-plugin/examples_64bit)
- some of them need more rework, check the [to do](https://github.com/moisescastellano/tcmd-java-plugin/blob/main/to-do.md)
v2.0 - 2021-dec-14
------------------
Now, every java plugin:
- Works as an independent 64-bit plugin in TC64. Still works in TC32.
- May be installed as usual, just entering the zip, without further ado.
### Changes for 64-bit version plugins (from 32-bit original java plugin by Ken Handel):
- included the new (wcx64 / wfx64 / wlx64 / wdx64) dll, recompiled by Ghisler (author of Total Commander), from Handel sources
- included the javalib dirs: Now every Java plugin installs just entering the zip, without further ado
- modified tc_javaplugin.ini accordingly (to refer the new location of javalib)
- included text file with some extra info for the 64-version
- repackaged as .zip (.tgz needed first to be un-tgz-ed to tar, also not so standard)