I need Java 8 on my NAS (ARM7, 32 bits, Debian Wheezy) for FIM software.

uname -a
Linux ReadyNAS 3.0.101.RN_ARM.3 #1 Mon Dec 15 23:39:16 PST 2014 armv7l GNU/Linux

I tried the packages way:

sh -c 'echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" >> /etc/apt/sources.list' 
sh -c 'echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" >> /etc/apt/sources.list' 
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 
apt-get update 
apt-get install oracle-java8-installer

and I got this error:

Log started: 2015-12-10  15:30:59
(Reading database ... 18396 files and directories currently installed.)
Unpacking oracle-java8-installer (from .../oracle-java8-installer_8u66+8u65arm-1~webupd8~1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/oracle-java8-installer_8u66+8u65arm-1~webupd8~1_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
Log ended: 2015-12-10  15:31:08

No solution, so I tried the other way:

tar -xzf jdk-8u65-linux-arm32-vfp-hflt.tar.gz -C/opt/jdk/


-bash: /opt/jdk/jdk1.8.0_65/bin/java: No such file or directory

file /opt/jdk/jdk1.8.0_65/bin/java
/opt/jdk/jdk1.8.0_65/bin/java: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=0x71b00d12494277775c92c5ea2cc41bd5cd3c03f3, not stripped

ldd /opt/jdk/jdk1.8.0_65/bin/java
        not a dynamic executable

How can I handle that?


Try deb packages from here. It worked for me.


dpkg -i *.deb
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.