Java compile example