Can't install rJava 0.9 on Ubuntu 10.04

后端 未结 4 2001
遇见更好的自我
遇见更好的自我 2021-02-19 02:12

I use R 2.13 from the CRAN apt repo for Ubuntu 10.04, and I\'m trying to install Deducer, which requires JGR/rJava, but rJava refuses to build/install, complaining about being u

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-19 03:01

    Here's another option:

    before running R, do this

    export LD_LIBRARY_PATH=/usr/lib/jvm/java-1.6.0-openjdk/jre/lib/amd64/server
    

    (for path above, substitute location of your particular libjvm.so, if you have a different configuration). To find libjvm.so, you can do

    sudo updatedb && locate libjvm.so
    

提交回复
热议问题