Java fix