Requirements for Java Debugging

If you want to use Stylus Studio to debug Java code, you must have the Sun Java Runtime Environment (JRE) 1.4.x installed. If you want to use Stylus Studio to assist you in editing and compiling Java code, you must have the Sun JDK 1.4.x installed.

You can download the Sun Java products from http://www.javasoft.com/j2se/.

After you install the JRE, you must run the Stylus Studio auto-detect feature. For more information, see Configuring Java Components.

To run the auto-detect feature:
1. Select Tools > Options from the Stylus Studio menu bar.
2. In the Options dialog box, click Java Virtual Machine.
3. In the Java Virtual Machine page, click Auto detect.

Also, in the Parameters field of the Java Virtual Machine page, there should be something like the following:

-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket, 
server=y,suspend=n,address=8000 -Djava.compiler=NONE
               

            

To confirm that your set up is correct, select Help > About Stylus Studio from the Stylus Studio menu bar. The Java Virtual Machine field in the About Stylus Studio dialog box should indicate that the JVM is running in debug mode.

 
Free Stylus Studio XML Training: