3 steps to compile dynamic java source, and run the code
beyondlinux.com