I'm currently running cocoon on my FreeBSD server (9.2) I'm using this version of java :
java -version
openjdk version "1.6.0_32"
OpenJDK Runtime Environment (build 1.6.0_32-b28)
OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)
But I would like also to use Neo4j which needs Java 7.
I did a pkg opendjk7
but I don't know how to tell Neo4j to use this version of Java (in my PATH I have Java 6).
What should I do ?
Thanks a lot Sincerely A.H
You can have both JDK installed at the same time, if JDK 6 is the default, don't change anything to the startup script of cocoon, but in the script startup script of Neo4j, just set
export JAVA_HOME=/path_to_JDK7
export PATH=$JAVA_HOME/bin:$PATH