r-macos-rtools icon indicating copy to clipboard operation
r-macos-rtools copied to clipboard

Java setup for rJava?

Open coatless opened this issue 7 years ago • 2 comments

Consider including Java:

# Headless download
# curl ... 

# This URL seems unstable.

# Then do a hdi mount/install/eject

# Run javareconf
R CMD javareconf

coatless avatar Mar 27 '18 21:03 coatless

Seems like only Java SE 8 is presently supported by rJava, c.f. Ripley's remarks on r-sig-mac

Is the correct answer. How to work around this is in the current manual, specifically R-admin for R 3.5.0 alpha or R-devel.

Java 10 has been out for 8 days, and the rJava maintainer was made aware of the issues early this month, several other package maintainers only today. The advice is to stick to an LTS release of Java (currently 8) unless you know what you are doing.

And don't post to multiple lists!

https://stat.ethz.ch/pipermail/r-sig-mac/2018-March/012705.html

coatless avatar Apr 03 '18 20:04 coatless

Looks like the issues with Java 10 were addressed in rJava:

https://github.com/s-u/rJava/compare/7558bfd61aacd03329991ced356fc452258f5807...32e2fd7fa956fb317eb985443c69744b39782116

The headless install of Java can be done using:

https://derflounder.wordpress.com/2018/04/19/oracle-java-10-jdk-and-jre-installation-scripts-for-macos/

coatless avatar Jun 07 '18 03:06 coatless