Hi Duncan,

I have tried to install a tar.gz package following your instructions 
(https://stat.ethz.ch/pipermail/r-help/2008-August/169599.html) but without 
success. Here are the steps I followed:

I installed the last version of Rtools and ran Rcmd INSTALL rJava_0.8-8.tar.gz 
and got the error message attach in errorLog.txt. It seems that there is a 
problem with JRI but I´m really stuck. Do you have any idea of what it could be?

 

Thanks!

 


**********************************************************************
Visit our website at http://www.btgpactual.com

The content of this message is confidential and was intended solely to its 
recipient. In case this message is received by mistake, please destroy it and 
notify the sender immediately. Electronic mails are not a safe channel for data 
transmission and the sender accepts NO liability for eventual errors, delays, 
loss, interception or virus infection. When necessary, the receiver must 
request a hard-copy version. 

O conteúdo desta mensagem é confidencial e destinado exclusivamente aos 
destinatários. Caso a receba por engano, favor destruí-la e notificar o 
remetente de imediato. O correio eletrônico não configura meio seguro para 
transmissão de dados e o remetente NÃO se responsabiliza por eventual erro, 
atraso, extravio, interceptação ou infecção por vírus. Cabe ao destinatário 
solicitar versão física sempre que necessário.
**********************************************************************
P:\Desktop>Rcmd INSTALL rJava_0.8-8.tar.gz
* installing to library 'C:/Program Files/R/R-2.13.1/library'
* installing *source* package 'rJava' ...
Generate Windows-specific files (src/jvm-w32) ...
cygwin warning:
  MS-DOS style path detected: C:/PROGRA~1/R/R-213~1.1/etc/i386/Makeconf
  Preferred POSIX equivalent is: /cygdrive/c/PROGRA~1/R/R-213~1.1/etc/i386/Makec
onf
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
make: Entering directory `/cygdrive/c/DOCUME~1/lippelan/LOCALS~1/Temp/RtmpHz0yZg
/R.INSTALL6d282489/rJava/src/jvm-w32'
dlltool --input-def jvm.def --kill-at --dllname jvm.dll --output-lib libjvm.dll.
a
gcc -O2 -c -o findjava.o findjava.c
gcc -s -o findjava.exe findjava.o
make: Leaving directory `/cygdrive/c/DOCUME~1/lippelan/LOCALS~1/Temp/RtmpHz0yZg/
R.INSTALL6d282489/rJava/src/jvm-w32'
Find Java...
  JAVA_HOME=C:/PROGRA~1/Java/JRE16~1.0_1
=== Building JRI ===
  JAVA_HOME=C:/PROGRA~1/Java/JRE16~1.0_1
  R_HOME=C:/PROGRA~1/R/R-213~1.1
Creating Makefiles ...
Configuration done.
make -C src JRI.jar
make[1]: Entering directory `/cygdrive/c/DOCUME~1/lippelan/LOCALS~1/Temp/RtmpHz0
yZg/R.INSTALL6d282489/rJava/jri/src'
C:/PROGRA~1/Java/JRE16~1.0_1/bin/javac -target 1.4 -source 1.4 -d . ../Mutex.jav
a ../RBool.java ../RConsoleOutputStream.java ../REXP.java ../RFactor.java ../RLi
st.java ../RMainLoopCallbacks.java ../RVector.java ../Rengine.java ../package-in
fo.java
make[1]: C:/PROGRA~1/Java/JRE16~1.0_1/bin/javac: Command not found
make[1]: *** [org/rosuda/JRI/Rengine.class] Error 127
make[1]: Leaving directory `/cygdrive/c/DOCUME~1/lippelan/LOCALS~1/Temp/RtmpHz0y
Zg/R.INSTALL6d282489/rJava/jri/src'
make: *** [src/JRI.jar] Error 2
**** WARNING: JRI could NOT be built
Set IGNORE=1 if you want to build rJava anyway.
ERROR: configuration failed for package 'rJava'
* removing 'C:/Program Files/R/R-2.13.1/library/rJava'
* restoring previous 'C:/Program Files/R/R-2.13.1/library/rJava'
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to