Options - General - 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.

Fields

Classpath

Classpath used by JVM in the context of Stylus Studio. To add a directory or .jar file to this classpath, 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 classpath.

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 classpath and the classpath used by the Stylus Studio Java compiler to be identical. However, it is good practice for them to be the same.

Enable JVM

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.

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.

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.

JDK

Home directory

Home directory of the JDK installed on your system.

Java compiler

Location of the Java compiler, javac.exe.

Parameters

Command-line options for the Java compiler.

External JVM

Command line

Location of the JVM you want Stylus Studio to use. To change the location, type a path in the field or click Browse to the right of the field.

Parameters

Parameters for starting the external JVM. 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.

Display Console Window

Displays messages in a console.

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

Configuring Java Components

 
Free Stylus Studio XML Training:
W3C Member