Running


Running a platform specific application

If you've downloaded an OSX APP or a Windows EXE, then you can run those as you would any other platform application... try double-clicking.



Running the JAR file:

To run the JAR file on any machine with Java and Java3D environments installed, simply type (from the same directory as the JAR file)...


java -Xmx500M -jar SimFil.jar


The -Xmx option increases the max heap size of the Java virtual machine... the code will crash without such an increase.



Running the source code:

The main class is SimFil, so the source code can be compiled on any machine with Java and Java3D environments installed by typing...


javac SimFil.java


It can then be run with


java SimFil


You're going to need a larger than default memory allocation, which is set at runtime with


java -Xmx500M SimFil


where the 500M means 500 MB max heap size. An allocation of 500M should be sufficient for most tests in SimFil, unless you create very many agents (very long filaments made of very short segments, for example).