Advanced Customization > Info*Engine User’s Guide > Server Access Kit > Example SAK Application > Compile the Application
  
Compile the Application
To compile the application:
1. Set your CLASSPATH environment variable.
Your CLASSPATH environment variable must include the following files/folders:
%JAVA_HOME%/lib/tools.jar
%<Windchill>%/lib/servlet.jar
%<Windchill>%/codebase
%<Windchill>%/codebase/WEB-INF/classes
%<Windchill>%/codebase/WEB-INF/lib/ieWeb.jar
Example:
set
CLASSPATH=C:/jdk1.3.1/lib/tools.jar;C:/ptc/Windchill/lib/servlet
.jar;C:/ptc/Windchill/codebase;C:/ptc/Windchill/codebase/WEB-INF/
classes;C:/ptc/Windchill/codebase/WEB-INF/lib/ieWeb.jar
2. Create the following directory:
%<Windchill>%/codebase/WEB-INF/classes
3. Change to the directory:
%<Windchill>>%/prog_examples/SAK_apps
and execute the following:
javac -d %<Windchill>%/codebase/WEB-INF/classes ExecuteTask.java