[R] RJDBC doesn't load Oracle driver?
Andre Zege
azege at yahoo.com
Fri Nov 26 16:57:07 CET 2010
I asked my local java export and his reply was that the driver was compiled
with the later version of java that i need to install. I did install it in
parallel to existing java and changed JAVA_HOME variable to point to new
java directory. I also pre-pended PATH with path to java. Still, when i try
to load the driver
>drv<-JDBC("oracle.jdbc.OracleDriver","/pathtodriver/ojdbc6.jar", " ")
Error in .jfindClass(as.character(driverClass)[1]) :
java.lang.UnsupportedClassVersionError: Bad version number in .class file
I am no Java expert, but it seems that new java is correctly installed,
because when i do
>java -version
I get
java version "1.6.0_23-ea"
Java(TM) SE Runtime Environment (build 1.6.0_23-ea-b03)
Java HotSpot(TM) 64-Bit Server VM (build 19.0-b09, mixed mode)
which is the latest Java.
Am i doing everything right to make sure that R uses the latest Java? Is
there any way to check it?
--
View this message in context: http://r.789695.n4.nabble.com/RJDBC-doesn-t-load-Oracle-driver-tp3058121p3060515.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list