Skip to content
Prev 285814 / 398502 Next

help updating package rJava (on ubuntu)

On Feb 19, 2012, at 4:31 PM, Karl Brand wrote:

            
FWIW you should not need to set any custom settings if you system is properly configured (if you use Java 1.7 you may need R 2.14.0 or higher which works around some bugs in 1.7 binaries). On Debian/Ubuntu you just install your favorite JDK (Sun/Oracle or OpenJDK) and use 'sudo update-alternatives --config java' or 'sudo update-java-alternatives' (depending on the age of your system) to select the right one.

The fact you you had to tweak PATH means that something is seriously broken or you did setup the alternatives configuration correctly.

Cheers,
Simon