Test Hello-World program in Java