I am trying to install java on my raspberry pi following the instructions on: http://www.oracle.com/technetwork/articles/java/raspberrypi-1704896.html, but at the instruction ./bin/java -version, I get Permission denied. I tried doing sudo ./bin/java -version, but I get command not found. I am logged in on the root, so I'm not sure what's happening.
|
|
|||
|
Ok, I found a way around it. It's probably very silly, but it seems to work. I run |
|||
|
|
Java 8 is available as an early release for the Raspberry Pi. This includes JDK8 and JavaFX 8 early release. Checkout http://jdk8.java.net/fxarmpreview/
Also, I suspect that you received program not found because the version of the executable was not compatible with the platform that you tried to run the executable on. I accidentally downloaded a JDK7 preview for ARM instead of the most current JDK8 preview and received the same "command not found" error that you did. |
|||
|
|
./bin/java, even though it goes to an elf file, it doesn't execute it which is the problem – cgoddard Jan 18 at 0:36