I'm trying to use Pentaho Kettle 5.0.1A-stable with the Neo4j JDBC driver but when I try to preview the data of a "Table Input" step I get this error:
Failed to execute runnable (java.lang.UnsupportedClassVersionError: org/neo4j/jdbc/Driver : Unsupported major.minor version 51.0)
Screenshot:
I have these lines in my .zshrc file
export JAVA_HOME=`/usr/libexec/java_home -v 1.7` export PENTAHO_JAVA_HOME=`/usr/libexec/java_home -v 1.7`
- Java version is 1.7.0_60 (I'm using Mac OS X btw)
- I've cloned the Neo4j-driver and built it using Maven (last commit of the driver was 5430d0454180a which added support to Neo4j 2.1.2)
- I built the driver with Maven with this command: mvn package
- I've copied the driver neo4j-jdbc-2.1.2-SNAPSHOT-jar-with-dependencies to the /lib dir in Kettle.
Any thoughts?
They say that this error usually happens because of a higher JDK during compile time and lower JDK during runtime but I already set PENTAHO_JAVA_HOME so I'm running out of ideas here.