Community
Participate
Working Groups
Hello, I've tried to use the SUN Come serial/parallel java library in my plugins. There is no pb with a stand alone java application, but when I integrate the same code into an eclipse plugin, it is impossible to make it running... Actually, this library must be put into $(JRE)/lib/ext and not into my $(MyPlugin)/lib directory as usual, because this library is associated with a property file which must be put into $(JRE)/lib. It seems that th JVM convention is to look at into this directory if there is a property file associated to the library found into .../lib/ext. So I can't put this property files into my plugin directory... Maybe be Eclipse could enable the same scheme, ie if in the lib directory included into the plugin we find a property file associated to a libray, it takes it into account... regards Xavier Méhaut
Doesn't it work when the library is added to the lib/ext directory? What happens? Please provide any error messages/log entries. What build of Eclipse are you using? See also bug 87775.
Actually, the default is not to have the extension classloader available to plug-ins. See bug 30919 comment 20 on how to configure Eclipse to use the extension classloader as the parent classloader for plug-ins. *** This bug has been marked as a duplicate of 30919 ***