Add missing semicolon to java example