[R] error starting SJava: classpath
Pauline Gu
gu4 at llnl.gov
Fri Aug 9 23:25:03 CEST 2002
Thank you so much for replying, Dr. Rossini.
But, here is my classpath:
> tmp <- javaConfig()
> tmp$classPath
[1]
"E"
[2] "\\Program
Files\\R\\rw1051\\library\\SJava\\org\\omegahat\\Interfaces\\NativeInterface\\OmegaInterfaceManager.class;E"
[3]
"\\ora9ias\\ORAINST\\jdbc\\lib\\classes111.zip;E"
[4]
"\\ora9ias\\ORAINST\\lib\\servlet.jar;C"
[5] "\\Program
Files\\JavaSoft\\JRE\\1.1\\lib;C"
[6] "\\Program
Files\\JavaSoft\\JRE\\1.1\\lib\\activation.jar;C"
[7] "\\WINNT\\system32\\Lasso Modules\\Java
Modules"
[8]
"E:/PROGRA~1/R/rw1051/library/SJava/org/omegahat/Jars/Environment.jar"
[9]
"E:/PROGRA~1/R/rw1051/library/SJava/org/.."
[10]
"E:/PROGRA~1/R/rw1051/library/SJava/org/omegahat/Jars/antlr.jar"
[11]
"E:/PROGRA~1/R/rw1051/library/SJava/org/omegahat/Jars/jas.jar"
[12] "E:/PROGRA~1/R/rw1051/library/SJava/org/omegahat/Jars/jhall.jar"
Actually, I did manually put the OmegaInterfaceManager.class into my
classpath, as you can see from the bolded text above. Unless this is not
the file the program is looking for, if not, which one. And the other
question is that how come the format from the tmp$classPath for my
environment classpath and the R classpath is different. My environment
classpath
takes two lines each (from [1] to [7]), while R classpath does not ([8] to
[12]).
Thanks again for your help.
Pauline
At 02:10 PM 8/9/2002 -0700, A.J. Rossini wrote:
> >>>>> "pauline" == Pauline Gu <gu4 at llnl.gov> writes:
>
>
> pauline> Here are the error message:
> >> library(SJava)
> >> .JavaInit()
> pauline> Error in .JavaInit() : Couldn't start Java Virtual Machine:
> Cannot
> pauline> find the Omegahat interface manager class. Check you classpath!
>
>This is precisely the problem. The best solution at this point will
>be to make sure that the classpath (Or the windows' equivalent of
>LD_LIBRARY_PATH) is pointed at the right place. I.e. while I'm not
>good at debugging windows problems, it looks like a environmental
>variables problem.
>
>--
>A.J. Rossini Rsrch. Asst. Prof. of Biostatistics
>U. of Washington Biostatistics rossini at u.washington.edu
>FHCRC/SCHARP/HIV Vaccine Trials Net rossini at scharp.org
>-------------- http://software.biostat.washington.edu/ ----------------
>FHCRC: M: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email
>UW: Th: 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX
>(my tuesday/wednesday/friday locations are completely unpredictable.)
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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