#!/bin/sh
echo "Hello World!" > expect
javac -classpath . edu/du/cs/comp3351/p1/*.java
java -classpath . edu.du.cs.comp3351.p1.HelloWorld > HelloWorldJava.out
diff expect HelloWorldJava.out &> /dev/null && echo "Java: Ok." || echo "Java: Failed."


