I recently installed RBloomberg, the Bloomberg APIv3 and rJava. I tried to execute blpConnect but received the following error. My windows machine has Java 1.5 installed, which to my knowledge appears to be acceptable for RBloomberg/rJava.
Please see further details below. I greatly appreciate your help.
RBloomberg Version 0.4-150
Java environment initialized successfully.
Looking for most recent blpapi3.jar file...
Adding C:\blp\API\APIv3\JavaAPI\v220.127.116.11\lib\blpapi3.jar to Java classpath
Error in .jnew("org/findata/blpwrapper/Connection", java.log.level) :
java.lang.UnsupportedClassVersionError: Bad version number in .class file
R version 2.14.0 (2011-10-31)
Platform: i386-pc-mingw32/i386 (32-bit)
I upgraded the java version to 1.6 just in case.... here is the output of 'java -version':
C:\Documents and Settings\Administrator>java -version
java version "1.6.0_30"
Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
Java HotSpot(TM) Client VM (build 20.5-b03, mixed mode, sharing)
The Bloomberg API v3 works fine in that I can launch the BBAPIDemo app and download historical data etc.... I'm not sure if I need a full JDK installation or if whether the JRE alone is sufficient (I have only installed the JRE). So something is else is going on.
> Here is the output of the path variables on my machine. Doesn't seem like the
> JAVA_HOME is set. Is this a requirement? Does the java folder also need to
> be in the PATH variable?
> C:\Documents and Settings\Administrator>echo %path%
> C:\Documents and Settings\Administrator>echo %java_path%
> C:\Documents and Settings\Administrator>echo $JAVA_HOME
> Anyone have any idea of how I can troubleshoot this going forward?
> Appreciate the help.
> View this message in context: http://r.789695.n4.nabble.com/RBloomberg-blpConnect-java-lang-UnsupportedClassVersionError-tp4208981p4214817.html > Sent from the Rmetrics mailing list archive at Nabble.com.
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance > -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions should go.