我正在尝试在适用于 Linux (Ubuntu 14.04) 的 Windows 子系统上安装 Oracle JDK 1.7,但出现以下错误:
the keytool command requires a mounted proc fs (/proc).
Java 的安装失败并出现大量错误:
the keytool command requires a mounted proc fs (/proc).
dpkg: error processing package ca-certificates-java (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of openjdk-6-jre-headless:amd64:
openjdk-6-jre-headless:amd64 depends on ca-certificates-java; however:
Package ca-certificates-java is not configured yet.
dpkg: error processing package openjdk-6-jre-headless:amd64 (--configure):
dependency problems - leaving unconfigured
Setting up udev (204-5ubuntu20.19) ...
No apport report written because the error message indicates its a followup error from a previous failure.
/usr/sbin/invoke-rc.d: 1: /usr/sbin/invoke-rc.d: /sbin/runlevel: not found
* udev requires devtmpfs support, not started
...fail!
这是完整的日志: http: //pastebin.com/gycBK1L9
我读过它可能与 chroot 和 initscripts 有关,但我无法让它工作。
我需要 JDK 才能在我的机器上编译 Android。任何帮助将不胜感激。