The Windows installation of NetLogo doesn't appear to be designed to
allow you to change the classpath like that. It really shouldn't be
necessary for you to change it, though. If extension <X> is used in a
model, all files in './extensions/<X>/*.jar' get loaded onto the
classpath dynamically.
Jason Bertsche
Senior Software Developer - NetLogo
On 3/27/2014 5:08 AM, Martin Dobiasch wrote:
Hi,
i need to put a jar file on the classpath in order to make my
extension work.
On Linux this is no problem (just modifying the netlogo.sh)
on Windows however I cant get it to work by modifying the NetLogo
5.0.5.vmoptions file
BUT i can run it using the command line.
The problem is that my jar seems not to get loaded when using the
.vmoptions.
Does anyone know the correct way?
my .vmoptions file:
-Djava.ext.dirs=
-Xfuture
-XX:MaxPermSize=128m
-Xmx512m
-Dfile.encoding=UTF-8
-classpath "D:\NetLogo
5.0.5\extensions\mapreduce\mapreduce.jar;D:\NetLogo 5.0.5\NetLogo.jar"
The command I'm using (works):
D:\NetLogo 5.0.5>jre\bin\java.exe -classpath "D:\NetLogo
5.0.5\extensions\mapreduce\mapreduce.jar;D:\N etLogo
5.0.5\NetLogo.jar" org.nlogo.app.App H:\MR\Pi.nlogo
Thanks,
Martin
--
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/d/optout.