To run the sample Java programs, go to the sample program directory and run the batch or script file that matches the name of the sample program you want to run. For example, to run the Sample1.java program in the /axis/multithreaded directory, go to the directory and run RunSample1.bat (Windows) or RunSample1.sh (UNIX).