Modifying the Classpath

The only field not set by Stylus Studio's auto detect feature is the Classpath field. For Stylus Studio to be able to find a Java class, its location must be specified in this classpath.

To add a directory or .jar file to this classpath, click Browse. For classpath changes to take effect, you must restart Stylus Studio whenever you modify the Classpath field.



The value of the Classpath field does not affect the CLASSPATH environment variable. The default value of the Classpath field, $(classpath), specifies that you want to use the contents of the CLASSPATH environment variable. There is no requirement for the classpath specified here and the classpath specified in the environment variable to be identical. However, it is good practice for them to be the same.

Free Stylus Studio XML Training: