How to install Oracle 7 using java CB

Hi

I have this in my role override_attributes “java” => {“install_flavor” =>
“oracle”}

When I try and start neo…,I get the below. How do I get java cb to
install oracle ?

ubuntu@aws-neo4j-server:~/neo4j$ sudo ./bin/neo4j start
WARNING! You are using an unsupported version of the Java runtime. Please
use Oracle® Java™ Runtime Environment 7.
Starting Neo4j Server…process [3130]… waiting for server to be
ready… Failed to start within 120 seconds.
Neo4j Server may have failed to start, please check the logs.

u need to set nod['java']['jdk_version'] to 7

the cookbook defaults to 6

On Wed, Mar 27, 2013 at 2:17 AM, David Montgomery
davidmontgomery@gmail.com wrote:

Hi

I have this in my role override_attributes "java" => {"install_flavor" =>
"oracle"}

When I try and start neo..,I get the below. How do I get java cb to install
oracle ?

ubuntu@aws-neo4j-server:~/neo4j$ sudo ./bin/neo4j start
WARNING! You are using an unsupported version of the Java runtime. Please
use Oracle(R) Java(TM) Runtime Environment 7.
Starting Neo4j Server...process [3130]... waiting for server to be
ready...... Failed to start within 120 seconds.
Neo4j Server may have failed to start, please check the logs.