Options - Application Settings - Java Virtual Machine

You use this page of the Options dialog box to modify settings that determine how Stylus Studio works with your JVM.

To display the Options dialog box, select Tools > Options from the Stylus Studio menu bar. Expand Application Settings and click Java Virtual Machine.

Fields

Enabled

Indicates whether Stylus Studio loads a JVM. If you do not need a JVM, you can disable this option so that Stylus Studio requires less memory.

Accept HotSpot

If you click Auto detect at the bottom of this page and you have both the Sun Classic JVM and the Sun HotSpot JVM, Stylus Studio designates the Sun HotSpot JVM as the default.

Runtime Library

Path for the JVM run-time library. To specify an alternate location, type a new path or click Browse to the right of the field.

Home Directory

Home directory for your Java development kit. To specify a new home directory, type the value or click Browse to the right of the field.

ClassPath

Class path used by JVM in the context of Stylus Studio. To add a directory or .jar file to this class path, click Browse to the right of the field. For Stylus Studio to be able to find a Java class, its location must be specified in this class path.

This value does not affect the CLASSPATH environment variable. The default value, $(classpath), specifies that you want to use the contents of the CLASSPATH environment variable. There is no requirement for this class path and the class path used by the Stylus Studio Java compiler to be identical. However, it is good practice for them to be the same.

Parameters

Parameters for starting the JVM in the context of Stylus Studio. As a rule, you should never change the default value. This option exists for situations in which there is an unusual configuration. In such situations, Technical Support might instruct you to change this value.

Auto detect

If you modify the Stylus Studio Java Virtual Machine options and then decide you want to return to the default values, click Auto detect to reset the options.

For More Information

Modifying Java Options

 
Free Stylus Studio XML Training: