Hi: 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/ I get the same error as before. Can someone please help me if I am missing something? Your help will be greatly appreciated. -Dhiren
SJava linux installation problems
2 messages · Dhiren DSouza, Paul Roebuck
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)