Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hardware floating point java/jruby blockers #3

Open
cjdaly opened this issue Nov 25, 2013 · 1 comment
Open

hardware floating point java/jruby blockers #3

cjdaly opened this issue Nov 25, 2013 · 1 comment

Comments

@cjdaly
Copy link
Owner

cjdaly commented Nov 25, 2013

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.

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:

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.

@cjdaly
Copy link
Owner Author

cjdaly commented Feb 12, 2014

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.

rpi-jruby-pid-test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant