[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

  [2] "\\Program 


  [5] "\\Program 

  [6] "\\Program 

  [7] "\\WINNT\\system32\\Lasso Modules\\Java 




[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 
takes two lines each (from [1] to [7]), while R classpath does not ([8] to 

Thanks again for your help.


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