» 您尚未登录:请 登录 | 注册 | 标签 | 帮助 | 小黑屋 |


发新话题
打印

[电脑] win10那个新的linux bash有人玩么?安装JDK为什么报错?

刚才试着折腾,最后错误内容如下:

------------------------------------------------------

Reading package lists... Done
Building dependency tree
Reading state information... Done
openjdk-7-jdk is already the newest version.
The following package was automatically installed and is no longer required:
os-prober
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Can not write log (Is /dev/pts mounted?) - openpty (2: No such file or directory)
Setting up ca-certificates-java (20130815ubuntu1) ...
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
Setting up openjdk-7-jre-headless:amd64 (7u95-2.6.4-0ubuntu0.14.04.2) ...
the java command requires a mounted proc fs (/proc).
dpkg: error processing package openjdk-7-jre-headless:amd64 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of openjdk-7-jre:amd64:
openjdk-7-jre:amd64 depends on openjdk-7-jre-headless (= 7u95-2.6.4-0ubuntu0.14.04.2); however:
Package openjdk-7-jre-headless:amd64 is not configured yet.

dpkg: error processing package openjdk-7-jre:amd64 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.dpkg: dependency problems prevent configuration of openjdk-7-jdk:amd64:
openjdk-7-jdk:amd64 depends on openjdk-7-jre (= 7u95-2.6.4-0ubuntu0.14.04.2); however:
Package openjdk-7-jre:amd64 is not configured yet.

dpkg: error processing package openjdk-7-jdk:amd64 (--configure):

dependency problems - leaving unconfigured
No apport report written because MaxReports is reached alreadyProcessing triggers for ca-certificates (20160104ubuntu0.14.04.1) ...

Updating certificates in /etc/ssl/certs... W: /usr/share/ca-certificates/mozilla/China_Internet_Network_Information_Center_EV_Certificates_Root.crt not found, but listed in /etc/ca-certificates.conf.
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....
the keytool command requires a mounted proc fs (/proc).
E: /etc/ca-certificates/update.d/jks-keystore exited with code 1.
done.
Errors were encountered while processing:
ca-certificates-java
openjdk-7-jre-headless:amd64
openjdk-7-jre:amd64
openjdk-7-jdk:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

------------------------------------------------

有JDK专家知道怎么解决么?


TOP

posted by wap, platform: Chrome
http://stackoverflow.com/questions/36478741/installing-oracle-jdk-on-windows-subsystem-for-linux

这不是你吧?



TOP

http://club.tgfcer.com/viewthrea ... p;extra=&page=2

这里面不是也说java装不了么


TOP

好吧,谢谢楼上两位的提醒,看来还得等。

TOP

现在就是个玩具 等完善吧



其实能用ssh就凑合了

TOP

发新话题
     
官方公众号及微博