AW: [R] Rjava failing to initialize in Windows 2000

Daniel Hoppe daniel.hoppe at
Thu Oct 24 08:28:17 CEST 2002


this guy seems to have had the same problem:

He didn't get replies, but maybe he figured out what the problem was. The
error message is typical for a virtual machine if the bootstrap-parameters
are invalid, e.g. the virtual machine type (JIT, hotspot, server) or if the
specified heap-size cannot be allocated.

Please drop a note if you figure out the problem, I might be the next to
step into this (OK, I'm not even as far as having build R from source, so it
might take a while...)


-----Ursprüngliche Nachricht-----
Von: owner-r-help at
[mailto:owner-r-help at]Im Auftrag von Gatehouse, Simon
(E&M, North Ryde)
Gesendet: Donnerstag, 24. Oktober 2002 04:13
An: r-help at
Betreff: [R] Rjava failing to initialize in Windows 2000

Dear Any,
I am trying to initialise Rjava with the objective of running ORCA within R.

I am running R1.5.1 on Windows2000 and get the same problem with Sun
Java run time jre-1.2.2_013
Java  j2re-1.4.1_01
Microsoft Java Virtual Machine Build 3805

.JavaInit() is failing at :
    .C("s_start_VM", as.character(classPath), as.character(classPath),
 with the error message
 "Couldn't start Java Virtual Machine: Can't create Java Virtual Machine"

With the following arguements:
All files are present in the appropriate directories

[1] "-DEmbeddedInR=true"

[3] "-DForeignReferenceBaseClass=org/omegahat/R/Java/RForeignReference"

[4] "-Djava.compiler=NONE"

[5] "-DOMEGA_HOME=C:/PROGRA~1/R/rw1051/library/SJava/org/omegahat"

[7] "-Djava.library.path=C:/PROGRA~1/R/rw1051/library/SJava/libs"

As far as I can tell all file references appear to be OK

Has anyone tried this under similar circumstances? Am I missing something
I have little idea about where to proceed next.

Any suggestions would be much appreciated.

Simon Gatehouse

Simon Gatehouse
CSIRO Exploration and Mining,
Newbigin Close off Julius Ave
North Ryde, NSW

Mail:      PO Box 136, North Ryde
           NSW 1670, Australia
Phone:     61 (2) 9490 8677
Fax:       61 (2) 9490 8921
Mobile:    61  0407 130 635
E-mail:    simon.gatehouse at
Web Page:

r-help mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at

r-help mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at

More information about the R-help mailing list