skip to content »

R java file not updating

Greatly appreciate any suggestions getting my r Java updated, Karl update.packages(= "/usr/lib/R/site-library") --- Please select a CRAN mirror for use in this session --- Loading Tcl/Tk interface ...done r Java : Version 0.9-1 installed in /usr/lib/R/site-library Version 0.9-3 available at (y/N/c)? present: interpreter : '/usr/bin/java' archiver : '' compiler : '' header prep.: '' cpp flags : '' java libs : '-L/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server -L/usr/lib/jvm/java-6-openjdk/jre/lib/amd64 -L/usr/lib/jvm/java-6-openjdk/jre/../lib/amd64 -L/usr/java/packages/lib/amd64 -L/usr/lib/jni -L/lib -L/usr/lib -ljvm' configure: error: Java Development Kit (JDK) is missing or not registered in R Make sure R is configured with full Java support (including JDK).

r java file not updating-56r java file not updating-84r java file not updating-39

By commenting, you are accepting the IBM commenting guidelines and the DISQUS terms of service.Certainly i don't know exactly what was needed to achieve this.BUT - for posterities sake, this is what i did: ## purge and reinstall openjdk-6-jdk which turned outwasn't installed!$ sudo apt-get purge openjdk-6-jdk Package openjdk-6-jdk is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.## install openjdk-6-jdk $ sudo apt-get install openjdk-6-jdk ## Per- So i'd like to know how i can ensure it's "registered in R". But lacks enough explicit details for myself to be able use.

Thanks again, also for any further suggestions, Karl On 02/18/2012 PM, Simon Urbanek wrote: java libs : '-L/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server -L/usr/lib/jvm/java-6-openjdk/jre/lib/amd64 -L/usr/lib/jvm/java-6-openjdk/jre/../lib/amd64 -L/usr/java/packages/lib/amd64 -L/usr/lib/jni -L/lib -L/usr/lib -ljvm' Obviously - your'e lacking JDK on your machine - see the output above (you have only JRE, not JDK).

If you want to compile r Java form sources you need to install JDK first, then add Java support to R (via javareconf) and then build r Java.

Cheers, Simon ______________________________________________ [hidden email] mailing list https://ch/mailman/listinfo/r-help PLEASE do read the posting guide

Run R CMD javareconf as root to add Java support to R. UTF-8 [7] LC_PAPER=C LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.

..i do as suggested: $ sudo R CMD javareconf Java interpreter : /usr/bin/java Java version : 1.6.0_23 Java home path : /usr/lib/jvm/java-6-openjdk/jre Java compiler : not present Java headers gen.: Java archive tool: Java library path: $(JAVA_HOME)/lib/amd64/server:$(JAVA_HOME)/lib/amd64:$(JAVA_HOME)/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib/jni:/lib:/usr/lib JNI linker flags : -L$(JAVA_HOME)/lib/amd64/server -L$(JAVA_HOME)/lib/amd64 -L$(JAVA_HOME)/../lib/amd64 -L/usr/java/packages/lib/amd64 -L/usr/lib/jni -L/lib -L/usr/lib -ljvm JNI cpp flags : Updating Java configuration in /etc/R Done. UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics gr Devices utils datasets methods base -- Karl Brand Department of Genetics Erasmus MC Dr Molewaterplein 50 3015 GE Rotterdam T 31 (0) |F 31 (0) |M 31 (0)642 777 268 ______________________________________________ [hidden email] mailing list https://ch/mailman/listinfo/r-help PLEASE do read the posting guide

But i still get the same error when trying to update r Java! provide commented, minimal, self-contained, reproducible code.