Then add '.' to your $CLASSPATH with CLASSPATH=.:$CLASSPATH or as a paramater with java -classpath .:$CLASSPATH HelloWorld
CLASSPATH=.:$CLASSPATH
java -classpath .:$CLASSPATH HelloWorld