Ok, I’'ve got a way to download and update to a plugin, but i think there is a problem with the PluginManger.addPlugin(PublicPlugin plugin).
It looks like it does not add the correct classpath. I think it has something to do with the PluginClassLoader adding the plugin.jar file, not the plugin.jar/lib/plugin-classes.jar file.
You also get the same error when installing a plugin from the plugin menu item.
ClassNotFoundException is the error you get.
I’'m a bit over my head, does anyone have any insight into this?