Source code of examples in Test-Driven Development by Kent Beck
Download Java Development Kit from here
Install Java Development Kit: follow instructions here
Run these commands to verify if Java is installed successfully:
java -version
javac -version
javac -cp .:./lib/* **/*.java && java -cp .:./lib/* org.junit.runner.JUnitCore test.<TestClass>