我刚刚在VMWare Workstation中安装了Ubuntu 10.4。没有用于Ubuntu的Java?
当我尝试安装java,我找不到包:
[email protected]:~$sudo apt-get install sun-java6-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sun-java6-jre is not available, but is referred to by another package.
This may mean the package is missing, has been obsoleted, or
is only available from another source
E: Package sun-java6-jre has no installation candidate
我很困惑。
请从删除的VMWare标题,因为这与VMWare无关。正如所写,听起来像VMWare存在一个问题。在标题中引用10.04也会更好。那么,“VMWare下的Ubuntu没有Java?”会更好地写成“没有Java 10.04的Ubuntu?” – darron 2010-07-20 17:30:07