[R] Configuring SJava on Windows

tlorino@vet-alfort.fr tlorino at vet-alfort.fr
Wed Jul 10 13:29:44 CEST 2002


Dear R users,

I was happy to find a binary library for SJava in the last released of R
(1.5.1)... I am able to load the library... but I have some problems to run this library:

> .JavaInit()
Error in .JavaInit() : Couldn't start Java Virtual Machine: Can't create Java Virtual Machine
> javaConfig()
$classPath
[1] "F:/Program Files/R/rw1051/library/SJava/org/omegahat/Jars/Environment.jar"
[2] "F:/Program Files/R/rw1051/library/SJava/org/.."                           
[3] "F:/Program Files/R/rw1051/library/SJava/org/omegahat/Jars/antlr.jar"      
[4] "F:/Program Files/R/rw1051/library/SJava/org/omegahat/Jars/jas.jar"        
[5] "F:/Program Files/R/rw1051/library/SJava/org/omegahat/Jars/jhall.jar"      

$properties
                                                                 EmbeddedInR 
                                                                      "true" 
                                                       InterfaceManagerClass 
             "org/omegahat/Interfaces/NativeInterface/OmegaInterfaceManager" 
                                                   ForeignReferenceBaseClass 
                                     "org/omegahat/R/Java/RForeignReference" 
                                                               java.compiler 
                                                                      "NONE" 
                                                                  OMEGA_HOME 
                      "F:/Program Files/R/rw1051/library/SJava/org/omegahat" 
                                                          OmegahatSearchPath 
".,${OMEGA_HOME}/Environment/Scripts/Run,${OMEGA_HOME}/Jars/Environment.jar" 
                                                           java.library.path 
                              "F:/Program Files/R/rw1051/library/SJava/libs" 

$libraryPath
[1] "F:/Program Files/R/rw1051/library/SJava/libs"

In particular I don't know if I have to tell to SJava where is my Java Runtime
Environment.

Thank you for your help,
Tristan Lorino

---------------------- 
École Nationale Vétérinaire d'Alfort - http://www.vet-alfort.fr,
Tél. 01 43 96 70 33
Mél. tlorino at vet-alfort.fr
Site personnel : http://daedale.free.fr

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