You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting with a fresh ubuntu 13.06 image on the Cubieboard2, I used the hflt variant of the Oracle 7 JRE. I did not install libc6-armel or libsfgcc1, but generally followed other cubie2 setup steps.
Running java -version produces:
java version "1.7.0_45"
Java(TM) SE Embedded Runtime Environment (build 1.7.0_45-b15, headless)
Java HotSpot(TM) Embedded Server VM (build 24.45-b08, mixed mode)
Things seem more or less ok, but JRuby gives some bizarre results.
Running jruby -v -e 'puts "#{Process.pid}"' & shows the process ID returned from bash (from backgrounding the process) does not match the pid from ruby.
LoadError: Could not load FFI Provider: (NotImplementedError) FFI not available: null
See http://jira.codehaus.org/browse/JRUBY-4583
require at org/jruby/RubyKernel.java:1082
...
Tried this: apt-get install -y libffi6 but it was already installed.
Tried this: apt-get install -y libjffi-java but it didn't seem to make a difference.
The text was updated successfully, but these errors were encountered:
I'm seeing this on a Raspberry pi. I used NOOBS to install Raspian and then use the included Oracle 7, hardware float (I think, but not 100% positive) Java runtime.
Starting with a fresh ubuntu 13.06 image on the Cubieboard2, I used the
hflt
variant of the Oracle 7 JRE. I did not installlibc6-armel
orlibsfgcc1
, but generally followed other cubie2 setup steps.Running
java -version
produces:Things seem more or less ok, but JRuby gives some bizarre results.
Got some ideas from the discussion here.
Running
jruby -v -e 'puts "#{Process.pid}"' &
shows the process ID returned from bash (from backgrounding the process) does not match the pid from ruby.Running
jruby -v -w -rffi -e 'p FFI::Platform::ARCH'
produces:Tried this:
apt-get install -y libffi6
but it was already installed.Tried this:
apt-get install -y libjffi-java
but it didn't seem to make a difference.The text was updated successfully, but these errors were encountered: