Java System Properties and how to use them - NetLogo/NetLogo GitHub Wiki
NetLogo uses Java system properties to change the way that it operates. These can be edited in NetLogo.cfg (when running the desktop application) or in the headless launcher (when running from the command line). The following is a list of properties that NetLogo uses, possible options available, and how it effects NetLogo's execution.
| property | values | meaning |
|---|---|---|
user.name |
any string | gives the user name to use when NetLogo is run in logging mode |
netlogo.docs.dir |
a string representing a file path | gives the directory where NetLogo will look to find the user manual and other documentation files |
netlogo.extensions.dir |
a string representing a file path | gives the directory where NetLogo will look for extensions |
netlogo.libraries.disabled |
true / false |
if set to true the extensions manager will not remotely query, install, and update extensions over the network |
netlogo.models.dir |
a string representing a file path | gives the directory where NetLogo will look for the models library |
org.nlogo.is3d |
true / false |
Specifies whether NetLogo ought to be started in 2D or 3D mode. |
org.nlogo.mac.appClassName |
fully qualified Java class name | Specifies the Java main class to be launched by the NetLogo mac app |
org.nlogo.noGenerator |
true / false |
Controls whether NetLogo uses the Java bytecode generator. Default is false: NetLogo does use the bytecode generator |
netlogo.swing.laf |
Name of a Java Swing "Look and Feel" | Controls the Swing look and feel used by the NetLogo application on Mac. |
swing.systemlaf |
Name of a Java Swing "Look and Feel" | Controls the Swing look and feel used by the NetLogo applciation on Windows. |
java.io.tmpdir |
a string representing a file path | Specifies a path for Java to use as a temporary directory (NetLogo writes autosaves to this directory) |
sun.java2d.d3d |
true / false |
Windows-only. Default to true. When false, directs Java to use a software renderer in Windows and avoid the Direct3D API. This can be used to work around graphics drivers problems if they are encountered. |