I want to run a java program in Raspberry Pi.
I downloaded "ARMv6/7 Linux - Headless EABI, VFP, SoftFP ABI, Little Endian" from Oracle's Website.
But when I try using java or even when i use the command java -version, I get the error:
"error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory"
These information might be useful:
pi@raspberrypi /usr/lib/java/lib/arm/jli $ ls
pi@raspberrypi /usr/lib/java/lib/arm/jli $ java -version
java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory
pi@raspberrypi /usr/lib/java/lib/arm/jli $
Please help me out.
The current versions of Java SE Embedded require an OS that provides softfp support, not hardfp. If you have an hardfp version, you see this error.
On the Raspberry Pi, if you download and boot 'Soft float Debian Wheezy' from the Raspberry Downloads page (http://www.raspberrypi.org/downloads) then this version will run Java SE Embedded.
There's a lengthy discussion about this issue here: