【问题标题】:Installing Eclipse with ant1.8 on Ubuntu 10.04 through package manager通过包管理器在 Ubuntu 10.04 上使用 ant1.8 安装 Eclipse
【发布时间】:2011-10-20 12:07:12
【问题描述】:

我无法找到通过 Ubuntu 10.04 上的包管理器安装 Eclipse 和 ant1.8 的方法。

安装了ant1.8,尝试安装eclipse的结果:

The following packages have unmet dependencies:
  eclipse: Depends: eclipse-jdt but it is not going to be installed
           Depends: eclipse-pde but it is not going to be installed
E: Broken packages

沿着依赖树,我到达:

The following packages have unmet dependencies:
  eclipse-platform: Depends: ant (>= 1.7.1)
E: Broken packages

但是,安装ant需要卸载ant1.8。

有没有办法在包管理器之外安装 ant1.8 或 eclipse 来解决这个问题?

谢谢!

【问题讨论】:

  • 不要使用来自 Ubuntu 的软件包。只需从 eclipse.org 下载。

标签: eclipse ubuntu ant ubuntu-10.04 apt-get


【解决方案1】:

你有什么理由保留 ant 1.8 吗?如果没有,请先将其删除,然后在安装 ant 1.7.1 后重试。

【讨论】:

  • 是的,Android开发需要ant1.8。
【解决方案2】:

我个人从不从存储库安装任何 Java 开发工具,因为它会给您带来各种问题,例如版本不兼容、升级困难等。大多数 Java 工具、IDE、应用服务器都可以在 zip 存档中下载,所以你只需要解压它,设置环境变量就可以了!

【讨论】:

    猜你喜欢
    • 2012-06-24
    • 2016-01-16
    • 1970-01-01
    • 1970-01-01
    • 2023-01-20
    • 1970-01-01
    • 2011-07-30
    • 1970-01-01
    • 2012-04-17
    相关资源
    最近更新 更多