[R] SJava linux installation problems

Paul Roebuck roebuck at odin.mdacc.tmc.edu
Fri Aug 5 18:26:27 CEST 2005


On Fri, 5 Aug 2005, Dhiren DSouza wrote:

> I am extremely new to linux so bare with the questions.  I am
> trying to install the SJava package for R on linux (debian).
>
> I issue the R CMD INSTALL SJava_0.68-0.tar.gz and get the
> following error
>
> Cannot find Java.
> Please set your path to include the directory in which the
> java executable resides, or set the environment variable
> JAVA_HOME before this configure script is run.
>
> I have j2sdk1.4.2_08 installed and I am assuming that the I
> need to set the environment variable JAVA_HOME to its path,
> so I did the following
>
> export JAVA_HOME=/usr/local/j2sdk1.4.2/j2sdk1.4.2_08/bin/

Remove '/bin/' from the environment variable path as
JAVA_HOME should point to the directory containing the
'bin' subdirectory. Best practice is NOT to include the
trailing slash of directory name in the value for an
environment variable.

----------------------------------------------------------
SIGSIG -- signature too long (core dumped)




More information about the R-help mailing list