ARM Nas에 Java 8 설치(Debian Wheezy)

ARM Nas에 Java 8 설치(Debian Wheezy)

내 NAS(ARM7, 32비트, Debian Wheezy)에서 FIM 소프트웨어를 실행하려면 Java 8이 필요합니다.

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

나는 패키지 방식을 시도했습니다.

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

이 오류가 발생했습니다.

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:
/var/cache/apt/archives/oracle-java8-installer_8u66+8u65arm-1~webupd8~1_all.deb
Log ended: 2015-12-10  15:31:08

해결책이 없었기 때문에 다른 접근 방식을 시도했습니다.

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
tar -xzf jdk-8u65-linux-arm32-vfp-hflt.tar.gz -C/opt/jdk/

하지만

/opt/jdk/jdk1.8.0_65/bin/java
-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

이 문제를 어떻게 처리해야 합니까?

답변1

여기에서 deb 패키지를 사용해 보세요. 이것은 나에게 효과적입니다.

http://nebulus.tuxfamily.org/debian/wheezy/openjdk-8/

dpkg -i *.deb

관련 정보