[R] Cannot create Java virtual machine (-1)

Martin Studer martin.remo.studer at gmail.com
Wed Aug 8 20:19:46 CEST 2012


Hi Roger,

note that since version 0.1-7 of XLConnect Java 1.6 is required - it won't
work with Java 1.5. However, the problem you describe is another one. It's
most likely related to your Java setup/configuration and therefore
independent of XLConnect. You can verify this by running the following
statements in R:

library(rJava)
.jinit()

You should actually see the same error message. What version of rJava are
you using and do you have any environment variables like JAVA_HOME or PATH
set? Also the output of sessionInfo() could be of interest.

Best regards,
Martin



--
View this message in context: http://r.789695.n4.nabble.com/Cannot-create-Java-virtual-machine-1-tp4639585p4639650.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list