Version 5 (modified by juaco, 9 years ago) (diff)


  • [28-May-2013]. Some troubles have been described when installing the rJava library. When doing the javareconf, sometimes it is necessary to add the path for some missing variables (the corresponding lines to the missing variables appear in blank when installing the package). As an example, the following worked in Linux Ubuntu 12.04, after a failure in the installation of rJava on R v3.0.0, for missing JAVAC, JAVAH and JAR variables:
    ~$ sudo R CMD javareconf JAVAC = '/usr/lib/jvm/java-7-openjdk-i386/jre/bin/java' JAR = '/usr/bin/jar' JAVAH = '/usr/bin/javah' 
    This issue is discussed in more detail at the R-help forum. Alternatively, in linux systems the problem has been reported to be overcome by using the Synaptic Package Manager for library installation