R java file not updating deeper dating experience

Rated 3.84/5 based on 647 customer reviews

But it appears that OS X has problems recognizing newer versions Oracle’s Java.

OS X seams to be looking for a legacy version 6 of Apple’s own build of Java.

or R or RStudio in the first place, but newer versions of Mac OS X do not play well with the latest versions of Oracle’s Java (jdk).

-framework R -Wl,-framework -Wl, Core Foundation JAVA_HOME : /Library/Java/Java Virtual Machines/jdk1.8.0_66.jdk/Contents/Home/jre Java library path: $(JAVA_HOME)/lib/server JNI cpp flags : -I$(JAVA_HOME)/../include -I$(JAVA_HOME)/../include/darwin JNI linker flags : -L$(JAVA_HOME)/lib/server -ljvm Updating Java configuration in /Library/Frameworks/R.framework/Resources Done.

In what follows, I listed the steps that solved for me the problem that the package does not just fail to load, but the R GUI for Mac terminates instantly and in RStudio the R-session gets closed. See the screen shot below on how that might look like.

After searching the web, the details of the problem are still not clear to me.

The trail of bug reports starts here, but before you delve into those and bother Simon Urbanek as much as I did, try the following: Now if you relauch R and load your package it should use your shiny new Java 1.8 and not crash any R sessions.

[Late addition] For this to work you may have to set (or have something else set) some environment variables too.

Leave a Reply