complex java hello world