Modifying Java Component Settings

Properties for JVM and JDK components are displayed on the Java Virtual Machine page of the Options dialog box, shown in Figure 100. When you start Stylus Studio, it automatically detects the Java Virtual Machine (JVM) and compiler components installed on your machine and sets the properties for these components accordingly.

Once these properties have values, Stylus Studio uses them until you either

How Auto Detect Works

The auto detect feature prompts Stylus Studio to fetch the settings from the registry setting Current Version under the key HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment to find the version, and then adds the version number to that same location to get the settings.

Note that if you manually change your settings to use another local version of the JDK, it may fail to load properly unless you also point the Current Version setting to match. This is because the JVM itself might try to load DLLs from the location of the current version instead of the location you specify.

About JVM Parameters

As a rule, you should never change the default values in the Parameter fields for the JVM or the External JVM. This option exists to accommodate unusual configurations. In such situations, Stylus Studio Technical Support might instruct you to change this value.

About JDK Parameters

The -g parameter instructs the compiler to add debugging information to the generated .class file; it is set by default.

How to Modify Java Component Properties

To modify Java component properties:
1. Start Stylus Studio if it is not already running, and select Tools > Options from the menu.

The Options dialog box appears.

2. Select General > Application Settings > Java Virtual Machine.
3. If you want Stylus Studio to update Java component properties to the latest installed version on you machine, click the Auto detect button.

Otherwise, make the changes manually.

4. Click OK.
5. If you made changes to any JVM properties, you need to restart Stylus Studio for those changes to take effect.

XML-DEV Discussion Forum

XML-DEV is a leading technical forum for XML discussion and a valuable free XML learning resource. Subscribe to the XML-DEV email discussion forum today to help further your XML education.

XML Operations

Using XML Pipeline it's easy to visually specify a series of XML operations to apply on your XML data, including parsing, validating, converting and transforming, according to the needs of your business application.

XPath Query Editor

Stylus Studio's XML Editor has an XPath Query Editor that allows you to easily roubleshoot, test, and debug any XPath expression.

XML Schema Validator, DTD Validator

Stylus Studio lets you validate XML documents using integrated XML Schema or DTD validators. Use the Stylus Studio built-in validator, or any number of supported XML parsers and XML validators like MSXML SAX and DOM, Xerces, .NET, and more!

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member