Added the files to the classpath, but now we're getting this issue. Is it a 
version issuse?

java -classpath java -cp ".../3D-CeA-Model-Online/backend/lib/*"  
Example2.java

Can't find extension: csv at position 12 in 

at org.nlogo.core.ErrorSource.signalError(ErrorSource.scala:11)

at 
org.nlogo.workspace.ExtensionManager.importExtension(ExtensionManager.scala:180)

at 
org.nlogo.parse.StructureParser$.$anonfun$parsingWithExtensions$1(StructureParser.scala:74)

at 
org.nlogo.parse.StructureParser$.$anonfun$parsingWithExtensions$1$adapted(StructureParser.scala:68)

at scala.collection.immutable.List.foreach(List.scala:431)

at 
org.nlogo.parse.StructureParser$.parsingWithExtensions(StructureParser.scala:68)

at org.nlogo.parse.StructureParser$.parseSources(StructureParser.scala:33)

at org.nlogo.parse.NetLogoParser.basicParse(NetLogoParser.scala:17)

at org.nlogo.parse.NetLogoParser.basicParse$(NetLogoParser.scala:15)

at org.nlogo.parse.FrontEnd$.basicParse(FrontEnd.scala:10)

at org.nlogo.parse.FrontEndMain.frontEnd(FrontEnd.scala:26)

at org.nlogo.parse.FrontEndMain.frontEnd$(FrontEnd.scala:25)

at org.nlogo.parse.FrontEnd$.frontEnd(FrontEnd.scala:10)

at org.nlogo.compile.CompilerMain$.compile(CompilerMain.scala:47)

at org.nlogo.compile.Compiler.compileProgram(Compiler.scala:54)

at 
org.nlogo.headless.HeadlessModelOpener.openFromModel(HeadlessModelOpener.scala:51)

at 
org.nlogo.headless.HeadlessWorkspace.openModel(HeadlessWorkspace.scala:535)

at org.nlogo.headless.HeadlessWorkspace.open(HeadlessWorkspace.scala:502)

at org.nlogo.api.Controllable.open(Controllable.scala:19)

at Example2.main(Example2.java:7)

at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)

at java.base/java.lang.reflect.Method.invoke(Method.java:580)

at 
jdk.compiler/com.sun.tools.javac.launcher.SourceLauncher.execute(SourceLauncher.java:264)

at 
jdk.compiler/com.sun.tools.javac.launcher.SourceLauncher.run(SourceLauncher.java:153)

at 
jdk.compiler/com.sun.tools.javac.launcher.SourceLauncher.main(SourceLauncher.java:78)



On Friday, April 12, 2024 at 6:07:43 PM UTC-4 Aaron Andre Brandes wrote:

> Hi Chris,
>
> Just in case it might be helpful for you to know – we introduced a number 
> of enhancements to BehaviorSpace in NetLogo 6.4.
>
> You might find the following to be of interest.
>
>  
>
> Pre experiment commands 
> <https://ccl.northwestern.edu/netlogo/docs/behaviorspace.html#pre-experiment-commands>:
>  
> Commands can be run before the experiment begins.
>
> Post experiment commands 
> <https://ccl.northwestern.edu/netlogo/docs/behaviorspace.html#post-experiment-commands>:
>  
> Commands can be run after the experiment ends.
>
>  
>
> - Aaron
>
> -- 
>
> Aaron Brandes, Software Developer
>
> Center for Connected Learning and Computer-Based Modeling
>
>  
>
>  
>
> *From: *[email protected] <[email protected]> on behalf 
> of Chris Davis Perumal <[email protected]>
> *Date: *Thursday, April 11, 2024 at 3:57 PM
> *To: *netlogo-devel <[email protected]>
> *Subject: *Re: [netlogo-devel] Controlling API Setup
>
> Hi Aaron,
>
>  
>
> Thanks for your reply. We specifically need to use the controlling API 
> because our big picture idea is to use Java (Spring) backend to interact 
> with netlogo and pull data from it.
>
> If you could help us with that set up, it would be great. That's where I'm 
> stuck right now.
>
>  
>
> Thanks and Regards,
>
> Chris
>
> On Thursday, April 11, 2024 at 2:55:31 PM UTC-4 Aaron Andre Brandes wrote:
>
> Hi Chris,
>
> If you are running a NetLogo 3D model you can just use NetLogo_Console
>
>  
>
> For example, on my MacOS system in the terminal
>
>  
>
> cd /Applications/NetLogo 6.4.0
>
> ./NetLogo_Console --headless \
>
>   --3D \
>
>   --model "models/3D/Sample Models/GasLab/GasLab Free Gas 3D.nlogo3d" \
>
>   --experiment "100 runs" \
>
>   --table -
>
>  
>
> You can find more information about using the NetLogo_Console in the 
> documentation 
> <https://ccl.northwestern.edu/netlogo/docs/behaviorspace.html#advanced-usage>
> .
>
>  
>
> If you need to use the Controlling API let us know.
>
> - Aaron
>
> -- 
>
> Aaron Brandes, Software Developer
>
> Center for Connected Learning and Computer-Based Modeling
>
>  
>
>  
>
> *From: *[email protected] <[email protected]> on behalf 
> of Chris Davis Perumal <[email protected]>
> *Date: *Thursday, April 11, 2024 at 1:38 PM
> *To: *netlogo-devel <[email protected]>
> *Subject: *[netlogo-devel] Controlling API Setup
>
> Hi Team,
>
>  
>
> We're trying to run our Netlogo 3D model from Java in a headless format as 
> specified in the documentation 
> https://github.com/NetLogo/NetLogo/wiki/Controlling-API#example-headless 
> <https://urldefense.com/v3/__https:/github.com/NetLogo/NetLogo/wiki/Controlling-API*example-headless__;Iw!!Dq0X2DkFhyF93HkjWTBQKhk!UJ9bSGUyAOs7NXViXSEOWwvx9WLSf8MUCIXw3A4e5HRva6P1KX95lPSDDlVe5tl5oHczpjJhvRFxxPiE0JXofn2L82SFYs0J$>
>
> I used the netlogo-6.4.0.jar files that we found in the "app" folder yet 
> still for some reason it was unable to pick up the supporting library files 
> needed to run. Is there a different set of jar files that we are supposed 
> to use?
>
> We weren't sure if we were loading it onto the classpath correctly. Any 
> help you can give us would be appreciated.
>
>  
>
> Thanks and Regards,
>
> Chris
>
> -- 
> 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/1da7e1f3-6188-43e7-bcb9-d015c520d5e0n%40googlegroups.com
>  
> <https://urldefense.com/v3/__https:/groups.google.com/d/msgid/netlogo-devel/1da7e1f3-6188-43e7-bcb9-d015c520d5e0n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Dq0X2DkFhyF93HkjWTBQKhk!UJ9bSGUyAOs7NXViXSEOWwvx9WLSf8MUCIXw3A4e5HRva6P1KX95lPSDDlVe5tl5oHczpjJhvRFxxPiE0JXofn2L87uSagIb$>
> .
>
> -- 
> 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/1ebd63e3-17ab-4096-9b6c-418f16cbd540n%40googlegroups.com
>  
> <https://urldefense.com/v3/__https:/groups.google.com/d/msgid/netlogo-devel/1ebd63e3-17ab-4096-9b6c-418f16cbd540n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Dq0X2DkFhyF93HkjWTBQKhk!WepxdDhcPWKAjZaTcQVI_4ygGTzsLPXTJhmhlpN1rS8lHlc9oHgmMmmcjWYKpvwSxq6mtdafAINxV1ECAbhFXU1EHr3EiLFN$>
> .
>

-- 
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/4655e27e-a325-4ff6-82c3-773250bef767n%40googlegroups.com.

Reply via email to