Dummy java app that says hello world a few times