[R-SIG-Mac] R and Java 10 ➜ rJava not able to build

Luis Puerto luiss.puerto at gmail.com
Wed Apr 4 16:14:16 CEST 2018

Hey Simon! 

Thanks a lot for the really quick update. I installed the package from source and now works perfectly, builds and can be use in R with other packages, like xlsx. 

I configured java without invoking root privileges. 

I know that the Homebrew users are more or less in our own, but I think there is nothing wrong in ask since probably the problem isn’t cause by the Homebrew install. Finally, Homebrew is just a way to install R from source. 

Anyhow, thanks a lot for your help! 

Best Regards
Luis Puerto

> On 4 Apr 2018, at 16:51, Simon Urbanek <simon.urbanek at r-project.org> wrote:
> Luis,
> 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.
> Cheers,
> Simon
>> 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
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

More information about the R-SIG-Mac mailing list