Hi Andy, Sorry for my late response.
I tried your suggestions with the latest JCC (trunk) and now it works. We are using Java 8 in this case, and the concatenation of classpaths still works. That is very fortunate, because that makes our Python extensions independent. Thank you for your efforts and the amount of time you put in JCC and PyLucene! Best regards, Erik -- Erik Groeneveld ♦ seecr.nl ♦ +31 624 584 029 On Sat, Nov 28, 2020 at 4:22 AM Andi Vajda <va...@apache.org> wrote: > > I now made it return an error when calling initVM() a second time and > updating the VM's classpath failed because the system class loader is not > an > instance of java.net.URLClassLoader. > > Instead, call initVM() only once but with all the module.CLASSPATH strings > set into its classpath keyword argument: > > import os, mod1, mod2, mod3 > > mod3.initVM(classpath=os.pathsep.join([mod1.CLASSPATH, mod2.CLASSPATH, > mod3.CLASSPATH])) > > Andi.. > -- Seecr helpt informatieprofessionals met het consistent integreren en verbinden van decentrale metadata zodat zij zich helemaal kunnen focussen op de inhoud. Meer weten? Kijk op seecr.nl <https://seecr.nl>.