[R] Rjava failing to initialize in Windows 2000

Gatehouse, Simon (E&M, North Ryde) Simon.Gatehouse at csiro.au
Thu Oct 24 04:13:05 CEST 2002


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



More information about the R-help mailing list