Showing posts with label Java. Show all posts
Showing posts with label Java. Show all posts

Tuesday, January 15, 2019

Thursday, September 15, 2016

Ubuntu java install



sudo apt-get update

sudo apt-get install default-jre 
 
Also: tried "sudo nano -w /etc/enviroment", but it did not work. 

Sunday, January 17, 2016

java problem for R package installed as sources.


install rJava as sources.

checking Java support in R... present:
interpreter : '/usr/bin/java'
archiver    : '/usr/bin/jar'
compiler    : '/usr/bin/javac'
header prep.: '/usr/bin/javah'
cpp flags   : ''
java libs   : ''
configure: error: One or more Java configuration variables are not set.
Make sure R is configured with full Java support (including JDK). Run
R CMD javareconf
as root to add Java support to R.


http://stackoverflow.com/questions/3311940/r-rjava-package-install-failing
This seems to be a common problem.

I went back to R and choose to install binaries. The installation passed.