Home >Online Product Documentation >Table of Contents >Compiling Generated Java Code
The deployer automatically puts the JAR files required to compile the generated Java code in the Stylus Studio project classpath. JAR files are in the \bin directory where you installed Stylus Studio.
\bin
In order to compile Java code, the JDK must be installed on your machine and configured in Stylus Studio. Click Tools > Options > Java Virtual Machine to configure the JDK.
Alternatives: Press Ctrl + F7, or select Java > Compile from the Stylus Studio menu.
Stylus Studio compiles the Java code. Results are displayed in the Output window.
If you have trouble compiling Java code in Stylus Studio
If you want to compile the Java code generated for your XML pipeline outside Stylus Studio, you will need to manually set your classpath to include the JAR files listed at the top of the generated .java file.
.java
Alternatives: Press Ctrl + F5, or select Java > Run from the Stylus Studio menu.
If the code has not been compiled, Stylus Studio displays a prompt asking if you want to compile the code now. Otherwise, Stylus Studio runs the Java code. Results are displayed in the Output window.