Remove '-java' flag for default profile.