I'm working on a Eclipse plugin that needs classes which are not known at compile time. The classes get sent over the network in jar files. I would like to dynamically load those classes at runtime.
I've tried the approach listed here: http://blog.imaginea.com/making-applications-work-together-in-eclipse/
Unfortunately it doesn't have the desired effect. While the classes do get loaded, I can't use them outside the function where I loaded them. I'm guessing it has something to do with using different class loaders.
Any help is appreciated. Even if you tell me, that it is not possible, so I know I don't have to look any further.
以上就是Adding jars to an Eclipse plugin at runtime的详细内容，更多请关注web前端其它相关文章！