Skip to content
Prev 299534 / 398503 Next

Problem to establish Bloomberg connection / Package RBloomberg / function blpConnect()

Hi John,

I did some further checks and noticed that the java version, which is indicated by the settings (I used the code you sent) is version 1.5.0_12, although I installed version 1.7.0_05 shortly. The paths as shown by parameter "java.endorsed.dirs" are wrong. They are pointing to an older version of java on my machine. Do you know how I can rJava have referring to the correct directories, where I have the newer version of java?. (C:\Program Files\Java\jre7\lib..)

I guess that would likely solve the problem.

Thanks,
Alex


-----Urspr?ngliche Nachricht-----
Von: John Laing [mailto:john.laing at gmail.com] 
Gesendet: Montag, 9. Juli 2012 14:39
An: Alexander Erbse
Cc: r-help at r-project.org
Betreff: Re: [R] Problem to establish Bloomberg connection / Package RBloomberg / function blpConnect()

OK. Are you running 32 bit or 64 bit R? And 32 bit or 64 bit Java?

This can help shed light on the settings for the JVM being accessed by R:
require(rJava)
.jinit()
jvm <- .jnew("java.lang.System")
jvm.props <- jvm$getProperties()$toString() jvm.props <- strsplit(gsub("\\{(.*)}", "\\1", jvm.props), ", ")[[1]]


-John
On Mon, Jul 9, 2012 at 8:23 AM, Alexander Erbse <ae at alpha-centauri.com> wrote: