MDX Documentation

Java JRE Options

Windows

On Windows when starting icCube using the icCube.exe, the file $install/bin/icCube.ini contains the initial properties for the JAVA virtual machine. You can for example specify the maximum memory usage as following:

        Virtual Machine Parameters=-Xmx768M ...
    

Specific JRE version : by default a JRE 1.6 is search for but you can override this setting and specify a specific version using the "Preferred versions" property. The following example is choosing the version 1.6.0_04:

        [Java Runtime Environment]
        Maximum Version=1.6
        JVM Source=favor_JRE
        JVM Type=favor_server
        Virtual Machine Parameters=-DicCube.install="C:\Program Files (x86)\icCube\2.0.3\"
        Preferred versions=1.6.0_04
        Minimum Version=1.6
        Main Class=crazydev.iccube.server.IcCubeServer
    

When using icCube.bat, the setup is similar to the one used on Unix as described below.

Unix

On Unix, the shell script $install/bin/icCube.sh is used to start the icCube server. This is the place to specify your JAVA_OPTS.

        JAVA_OPTS="-Xmx768M ..."
    

Next chapter : Authentication describes how to configure the authentication service.