[R-SIG-Mac] R and Java 10 ➜ rJava not able to build
simon.urbanek at r-project.org
Wed Apr 4 15:51:53 CEST 2018
first, you seem to be using Homebrew R so you're pretty much on your own (=ask the Homebrew maintainer) since we don't support that. (In official R you do NOT want to use sudo as Jeff pointed out)
That said, you can try the latest rJava 0.9-10 version (see http://rforge.net/rJava ) which is trying to work around the issue of Java 10 lacking javah and provide feedback.
There are more macOS changes in the making to work around other Oracle issues so once the full batch is through I'd expect a CRAN release.
> On Mar 28, 2018, at 7:10 AM, Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote:
> On 27/03/2018 20:25, Luis Puerto wrote:
>> rJava is not yet compatible with Java 10
> 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!
> Brian D. Ripley, ripley at stats.ox.ac.uk
> Emeritus Professor of Applied Statistics, University of Oxford
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
More information about the R-SIG-Mac