Many NetLogo extensions use third-party jar files, but I've never seen this 
error. Two questions:

   1. How are you reloading the extension?  From within NetLogo on the 
   command line with the __reload primitive, or from within the NetLogo code 
   itself?
   2. The message you get refers to a dll file.  Does one of the jar files 
   call into a dll file?  If so, that can be a bit tricky.

Charles

On Saturday, December 21, 2019 at 1:36:10 AM UTC-5, TechnoRazor wrote:
>
> I'm trying to make a NetLogo extension that loads in jar files. As of 
> right now, I don't have much experience with this stuff, so I just added 
> the jar files to the classpath along with the Netlogo jar. This seems to 
> work until you try to reload the extension, which results in the "...dll 
> already loaded in another classloader" error. I assume that's because the 
> library is already loaded from the first time, but how would I avoid that? 
> And if the answer is to not include them in the classpath, then how would I 
> compile my code in the first place?
> Again, I don't have much experience with this stuff, so please excuse and 
> correct me if I use any incorrect terminology. I have no idea what to do 
> from here, so any help is appreciated.
>

-- 
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/netlogo-devel/ae9b67c7-edf9-49b0-9983-1fe99a2b03af%40googlegroups.com.

Reply via email to