Using Operating System Environment Variables

NeXtMidas supports the use of special Operating System Environment Variables that are used when launching your NeXtMidas session.

NM_USER_CP

The variable NM_USER_CP is used to set the CLASSPATH that will be used by NeXtMidas, such as in the Unix C Shell:

 setenv NM_USER_CP classpath

NM_USER_JVM_FLAGS

The variable NM_USER_JVM_FLAGS is used to pass options to the Java Virtual Machine when running NeXtMidas. Common options include setting the initial and maximum memory size, such as below (again in the Unix C Shell):

setenv NM_USER_JVM_FLAGS "-Xms256m -Xmx256m"

NOTE: Setting the JVM option -DCLASSPATH is equivalent to using NM_USER_CP. If BOTH NM_USER_CP and NM_USER_JVM_FLAGS (with -DCLASSPATH=classpath) are present, the NM_USER_CP variable will take precedence.

See Runtime Options for additional information (link directs to $NMROOT/nxm/sys/docs/RuntimeOptions.txt)