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

Daniel Hoppe daniel.hoppe at em.uni-karlsruhe.de
Thu Oct 24 08:28:17 CEST 2002


Hi,

this guy seems to have had the same problem:

http://www.r-project.org/nocvs/mail/r-help/2002/5756.html

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...)

Daniel

-----Ursprüngliche Nachricht-----
Von: owner-r-help at stat.math.ethz.ch
[mailto:owner-r-help at stat.math.ethz.ch]Im Auftrag von Gatehouse, Simon
(E&M, North Ryde)
Gesendet: Donnerstag, 24. Oktober 2002 04:13
An: r-help at stat.math.ethz.ch
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),
        length(as.character(properties)))
 with the error message
 "Couldn't start Java Virtual Machine: Can't create Java Virtual Machine"


With the following arguements:
classPath=
"C:/PROGRA~1/R/rw1051/library/SJava/org/omegahat/Jars/Environment.jar;
C:/PROGRA~1/R/rw1051/library/SJava/org/..;
C:/PROGRA~1/R/rw1051/library/SJava/org/omegahat/Jars/antlr.jar;
C:/PROGRA~1/R/rw1051/library/SJava/org/omegahat/Jars/jas.jar;
C:/PROGRA~1/R/rw1051/library/SJava/org/omegahat/Jars/jhall.jar"
All files are present in the appropriate directories

properties=
[1] "-DEmbeddedInR=true"

[2]
"-DInterfaceManagerClass=org/omegahat/Interfaces/NativeInterface/OmegaInterf
aceManager"
[3] "-DForeignReferenceBaseClass=org/omegahat/R/Java/RForeignReference"

[4] "-Djava.compiler=NONE"

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

[6]
"-DOmegahatSearchPath=.,${OMEGA_HOME}/Environment/Scripts/Run,${OMEGA_HOME}/
Jars/Environment.jar"
[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
obvious?
I have little idea about where to proceed next.

Any suggestions would be much appreciated.

Regards
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 csiro.au
Web Page:  http://www.csiro.au/

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list