Install Ant and read the accompanying documentation.
wstant scripts requires a full JDK installation. If you are running wstant from an EAServer client install, make sure you have installed the full JDK. By default, only the JRE files are installed.
Before running wstant, verify that:
The DJC_HOME environment variable is set.
A full JDK installation is present.
Jakarta Ant is installed on your system.
By default, wstant searches for Jakarta Ant in %DJC_HOME%\jakarta-ant (Windows) or $DJC_HOME/jakarta-ant (UNIX). If you install Jakarta Ant in a different location, set the ANT_HOME environment variable to reflect the change before you run wstant scripts.
You can also set ANT_HOME in the user environment file, %DJC_HOME%\bin\user_setenv.bat (Windows) or $DJC_HOME/bin/user_setenv.sh (UNIX). wstant scripts check the user environment file each time it runs.