Setting the Java Version  Print-icon

As of Release 3.2.1, the GenePattern server can be configured to run under Java 5 or Java 6.

Mac OS X 10.6 (Snow Leopard) or Mac OS X 10.7 (Lion)

When installed on Mac OS X 10.6 (Snow Leopard) or Mac OS X 10.7 (Lion), the GenePattern server is automatically configured for Java 6.

Mac OS X 10.5 (Leopard)

When installed on Mac OS X 10.5 (Leopard), the GenePattern server is configured for Java 5 by default.

To configure the GenePattern server for Java 6:

  1. Confirm that Java 6 is installed.
    Tip: Use the 'java -version' command.
  2. Stop the GenePattern server.
  3. Set your Java Preferences to use Java 6.
    Tip: Java Preferences are usually found under Application > Utilities.
  4. Right-click StartGenePatternServer.app and Show Package Contents.
  5. Edit the Info.plist file and set the JVMVersion to 1.6.
  6. Restart the GenePattern server.

Windows

When installed on Windows, the GenePattern server is configured for Java 5 by default.

To configure the GenePattern server for Java 6:

  1. Confirm that Java 6 is installed.
    Tip: Use the 'java -version' command.
  2. Stop the GenePattern server.
  3. Edit the StartGenePatternServer.lax file and update the location of the Java executable:
    # LAX.NL.CURRENT.VM
    # -----------------
    # the VM to use for the next launch
    lax.nl.current.vm=\jre\bin\java.exe
  4. Edit the StopGenePatternServer.lax file and update the location of the Java executable.
  5. Restart the GenePattern server.

Linux

When installed on Linux, the GenePattern server is configured for Java 5 by default.

To configure the GenePattern server for Java 6:

  1. Confirm that Java 6 is installed.
    Tip: Use the 'java -version' command.
  2. Stop the GenePattern server.
  3. Edit the StartGenePatternServer.lax file and update the location of the Java executable:
    # LAX.NL.CURRENT.VM
    # -----------------
    # the VM to use for the next launch
    lax.nl.current.vm=/tools/pkgs/jdk_1.6.0_12/bin/java
  4. Edit the StopGenePatternServer.lax file and update the location of the Java executable.
  5. Restart the GenePattern server.

<< Modifying Server Settings Up Using Different Versions of R >>

Updated on August 31, 2012 18:32