Making java installation optional

since we have a different recipe for doing this.