Dear R-Help,
I am trying to get JRI (the rJava interface allowing Java to connect
to R) to work. I was able to run it a week ago when I was doing some
testing using Java 1.5. However, I am developing a GUI application
using some of the new Java 1.6 features and I just can't get JRI to
work with this setup.
Here is what I get:
Cannot find JRI native library!
Please make sure that the JRI native library is in a directory listed
in java.library.path.
java.lang.UnsatisfiedLinkError: /Library/Frameworks/R.framework/
Versions/2.8/Resources/library/rJava/jri/libjri.jnilib:
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1739)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at org.rosuda.JRI.Rengine.<clinit>(Rengine.java:9)
at mfa.mes.gui.MESFrame.initR(MESFrame.java:79)
at mfa.mes.gui.MESFrame.<init>(MESFrame.java:313)
at mfa.mes.MES.main(MES.java:131)
Java Result: 1
Notice that it did actually find the JRI.jar library. The error seems
to be related to the native JNI. I have set my java library path and
R_HOME correctly.
I saw this entry in the changelog for rJava:
0.4-10 2006-09-14
o Removed obsolete JNI 1.1 support that is no longer provided
in JDK 1.6 and thus prevented rJava from being used with JDK
1.6
I am curious if this change has been applied to JRI as well. It would
be very unfortunate if JRI is incompatible with the latest JDK.
I am running NetBeans / JDK 1.6 on Mac OS X 10.5.6.
Any help would be greatly appreciated!
Dobo
______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
I am trying to get JRI (the rJava interface allowing Java to connect
to R) to work. I was able to run it a week ago when I was doing some
testing using Java 1.5. However, I am developing a GUI application
using some of the new Java 1.6 features and I just can't get JRI to
work with this setup.
Here is what I get:
Cannot find JRI native library!
Please make sure that the JRI native library is in a directory listed
in java.library.path.
java.lang.UnsatisfiedLinkError: /Library/Frameworks/R.framework/
Versions/2.8/Resources/library/rJava/jri/libjri.jnilib:
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1739)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at org.rosuda.JRI.Rengine.<clinit>(Rengine.java:9)
at mfa.mes.gui.MESFrame.initR(MESFrame.java:79)
at mfa.mes.gui.MESFrame.<init>(MESFrame.java:313)
at mfa.mes.MES.main(MES.java:131)
Java Result: 1
Notice that it did actually find the JRI.jar library. The error seems
to be related to the native JNI. I have set my java library path and
R_HOME correctly.
I saw this entry in the changelog for rJava:
0.4-10 2006-09-14
o Removed obsolete JNI 1.1 support that is no longer provided
in JDK 1.6 and thus prevented rJava from being used with JDK
1.6
I am curious if this change has been applied to JRI as well. It would
be very unfortunate if JRI is incompatible with the latest JDK.
I am running NetBeans / JDK 1.6 on Mac OS X 10.5.6.
Any help would be greatly appreciated!
Dobo
______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Java Jdk 1.6 For Mac Os X 6 For Mac Os X
If the older JDK isn't on your machine, you'd need to use the GUI and download the Java updater. The one closest to yours I could find was for Java 1.6.015 for Mac OS 10.5 (you didn't mention which Mac OS X version you were running): Java for Mac OS X 10.5 Update 5. I didn't see any for Mac OS X 10.6. If you have not yet installed Apple's Java OS X 2012-006 update, then you are still using a version of Apple Java 6 that includes the plug-in and the Java Preferences application. See Notes for Users of macOS That Include the Apple Java 6 Plug-in.
![Jdk Jdk](/uploads/1/3/4/4/134490349/882217424.png)
Java Jdk 1.6 For Mac Os X 10 12 Download
- When I upgrade to Mavericks, it uninstalls Java 1.6. I can install Java 7, but for some applications and development work, I still need access to Java 6.
- Question or issue on macOS: I’ve got to write some code for a legacy application that is still running JDK 1.5. Unfortunately, it looks like OS X doesn’t actually have a 1.5 JDK installed; it just links to 1.6.