Download jdk102.zip
unzip it to root

jdk102\bin\javac.exe your_java_code.java

Download EJS from the web site
unzip it
Click ejsConsole.jar to initial the preperties (only need to be done once).
Close it.

Download TrafficControl.jar from EJS version trafficControl web page
Double click it to run the jar file.
Click right mouse button in the java window. Select [b]open EJS model[/b],
And you will find all the code in the EJS environment.

You can learn more about EJS from EJS web site.