Re: [R] SJava linux installation problems

From: Paul Roebuck <>
Date: Sat 06 Aug 2005 - 02:26:27 EST

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) mailing list PLEASE do read the posting guide! Received on Sat Aug 06 02:41:22 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:06:19 EST