我想安装 jdk 但出现此错误:
download failed Oracle JDK 8 is NOT installed.
dpkg: error processing package oracle-java8-installer (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
oracle-java7-installer
oracle-java8-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
我该如何修复它???
答案1
如果你想安装 Oracle JDK 8,你应该从JDK 并选择 jdk-{version}-linux-x64.tar.gz。