Hi Everyone, I had an issue with netlogo find the (built-in) extensions folder. The way that I solved it is by changing the netlogo.sh file to (added text in red):
#!/bin/sh cd "`dirname "$0/extensions/"`" # the copious quoting is for handling paths with spaces # -Djava.library.path=./lib ensure JOGL can find native libraries # -Djava.ext.dirs= ignore any existing JOGL installation # -XX:MaxPermSize=128m avoid OutOfMemory errors for large models # -Xmx1024m use up to 1GB RAM (edit to increase) # -Dfile.encoding=UTF-8 ensure Unicode characters in model files are compatible cross-platform # -jar NetLogo.jar specify main jar # "$@" pass along any command line arguments java -Djava.library.path=./lib -Djava.ext.dirs= -XX:MaxPermSize=128m -Xmx1024m -Dfile.encoding=UTF-8 -jar NetLogo.jar "$@" Does anyone know what $0 is? Is that just the starting path? Will this break something else in the future (so far it seems to work fine)? Thanks! EV -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
