This project uses the Java Platform Module System (JPMS)
All compiled modules are placed in out/module
- JDK 9 or later
javac,java, andjaravailable inPATHmakeinstalled
demo.plugin.api:PluginandPluginManagerAPIdemo.plugin.core:PluginManagerimplementationdemo.plugin.usage: Plugin manager usage exampledemo.plugin.plugin-test: Test plugin
make build-pluginThe generated plugin package will be:
plugins/plugin-test.jar
Run PluginManagerTest:
make runYou can observe class loading and unloading behavior in the console output
- Open the project in IntelliJ IDEA
- Make sure the JDK is configured correctly
- Build the plugin using Build → Build Artifacts
Run: PluginManagerTest with VM options:
-verbose:class