Thanks Seth.  Adding scala-library-2.12.8.jar did the trick.  I didn't move 
netlogo-6.1.1.jar, but I use NetBeans and it seems to have problems with 
the setting of the classpath when you want a whole directory included, so I 
find that I need to add individual .jar files in order for them to be found 
by the compiler.  BTW, in my NetLogo installation (Windows), all the jar 
files are under the "app" directory and there is no "Java" directory to be 
found.

Nice to hear from you again.

Charles



On Monday, November 18, 2019 at 1:19:47 PM UTC-5, Seth Tisue wrote:
>
> Charles,
>
> Inside the NetLogo folder is a "Java" folder with a bunch of JARs. The 
> errors you're seeing indicate that at least one of them is missing from 
> your compile-time classpath. At minimum you need scala-library-2.12.8.jar 
> on the classpath to prevent the specific error you're seeing. But some of 
> the others might be necessary as well.
>
> The netlogo-6.1.1.jar's MANIFEST.MF specifies scala-library and the others 
> as dependencies, so as long as the JARs remain together in the same folder, 
> I wouldn't expect explicitly adding them to be necessary. Perhaps you 
> copied netlogo-6.1.1.jar to a new location but didn't copy the other JARs?
>
> As it states at https://github.com/NetLogo/NetLogo/wiki/Extensions-API :
>
> "Important: You must add NetLogo.jar (from the NetLogo distribution) to 
> your classpath when compiling, and the lib directory must be accessible in 
> the same location as NetLogo.jar."
>
> but it looks like that text is a bit out of date — the directory name was 
> different in older NetLogo versions (`lib` instead of `Java`).
>
> Seth
>
>>

-- 
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 netlogo-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/netlogo-devel/7e99988a-3fbc-4eaf-b7ff-4c59e4def418%40googlegroups.com.

Reply via email to