You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Java Virtual Machine

The Flux Capacitor is written in 100% pure Java, therefore no platform-specific compiling of the bytecode is required. A Java Virtual Machine (JVM) with level 1.6 or higher has to be installed on the system, however, it is recommended to update to the newest Java binaries provided by Oracle for the corresponding platform (i.e., Linux, Solaris, or Windows); Mac OSX users are encouraged to use the automatic software update functionality to obtain the newest virtual machine from Apple. The following command confirms the correct installation of a valid JVM:

shell

(Linux/Unix)

$ java -version
java version "1.6.0"
OpenJDK  Runtime Environment (build 1.6.0-b09)
OpenJDK 64-Bit Server VM (build 1.6.0-b09, mixed mode

cmd

(Windows)

 C:\>java -version
java version "1.6.0_20"
Java (TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode)

RAM

A custom amount of memory can be reserved for simulations by setting the environment variable FLUX_MEM before starting the Flux Simulator:

shell

(Linux/Unix)

$ export FLUX_MEM="4G"

cmd

(Windows)

 C:\>set FLUX_MEM="4G"
  • No labels