Aptana Studio ヘルプ > はじめに > Aptana Studio 基本編 > Aptana Studioのインストール > Aptana Studioのインストール Linux編

Changing the VM used with Aptana

Some Studio users (primarily Linux users) may need to change the VM that they use with running Aptana. This Help topic will show you how to switch between GCJ and Sun's JVM.

Open a command prompt and type java -version to see which VM you are currently running. If you are running GCJ, the command output will look like:

java version "1.5.(some number)"
gij (GNU libgcy) version 5.1.0 (some number) (Red Hat some version number)

If you're running Sun's JVM, the output will look like:

java version "1.5.2_12"
Java(TM) 2 Runtime Enrivonment, Standard Edition (build 1.4.5_12)

At the command prompt, type the path for the VM which Aptana Studio should use. An example of this for GCJ is:

cd <path-to-aptana-root-directory>
./aptana -vm /etc/alternatives/java

To check that the correct VM is running, replace the path with the path to Sun's "java" executable, or update your "java" soft link to point to Sun's java.