I am trying to create a RJDBC driver for crate. Whenever I ran
jdbcDriver <- JDBC(driverClass = 'io.crate.client.jdbc.CrateDriver', '../../private/tmp/crate-jdbc-standalone-1.0.4.jar')
I got:
Fehler (Error) in .jfindClass(as.character(driverClass)[1]) : class not found
I also tried:
jdbcDriver <- JDBC(driverClass = 'io.crate.client.jdbc.CrateDriver', '../../private/tmp/crate-jdbc-standalone-1.0.4.jar', identifier.quote = '´')
That's the working MySQL driver:
jdbcDriver <- JDBC(driverClass = 'com.mysql.jdbc.Driver', '../../private/tmp/mysql-connector-java-5.1.36-bin.jar', identifier.quote = '´')
Let me finally point out, that this code runs properly on another machine.
The fact, that the MySQL driver works as well as the crate driver on a colleagues' machine keeps baffling me. I checked the paths a dozens of times. I tried different version of the crate jdbc driver (from 1.0.4 to 1.9).
Question: Is there any other way to address the CrateDriver.class in a way that R won't pretend it could not find it? Or is it OS X which can't work with anything newer than Java SE6, and this is the source of evil? Help's appreciated. I am kind of desperate right now and waste/spend the whole day on it. -R