在ubuntu上设置eclim的问题

发布于 2024-11-03 09:09:03 字数 184 浏览 0 评论 0原文

我下载了eclim,并按照安装指南 它需要 Eclipse Helios 3.6.x。

因此,我手动安装了该版本的 Eclispe,因为它不在 Ubuntu 的存储库中。

接下来发生的事情是,当我尝试安装 eclim 时,它说它无法识别我拥有的 eclipse 版本。

您对如何解决这个问题有什么建议吗?

I downloaded eclim, and according to the installation guide
it requires Eclipse Helios 3.6.x.

So, I went and installed that version of Eclispe manually because it is not at Ubuntu's repositories.

What happened next was that, when I tried installing eclim, it said that it cannot recognize the eclipse version that I have.

Do you have any suggestions of how to resolve this issue?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

残月升风 2024-11-10 09:09:03

手动安装的Eclipse通常不在使用软件中心时安装Eclipse的路径中。我在尝试安装 eclim 时也遇到了这个问题。

有两种方法可以修复它。

  1. 您可以通过手动安装指定新 Eclipse 的安装位置。例如,我手动将Helios安装到$HOME/eclipse。当安装程序到达要求 eclipse 路径的位置时,我将其指定为 /home/username/eclipse,当然将用户名替换为我的名字。这应该找到 helios 安装,而不是 /usr/lib/eclipse 中的安装。
  2. 第二种方法是从存储库手动制作并安装 eclim。相关指南在这里,http://eclim.org/guides/development.html#开发-构建。这将帮助您从开发版本构建 eclim,无论如何,这可能会更好,因为可能有发布版本中没有的新功能。请务必在 Ant 命令中指定 eclipse 主文件,如下所示: ant -Declipse.home=/where/you/installed/eclipseto

希望这对您有所帮助,祝您使用 eclim 快乐。真的很棒。

The Eclipse that you install manually is not usually on the path that Eclipse is installed to when using the software center. I had this problem too while trying to install eclim.

There are two ways to fix it.

  1. You can specify where the new Eclipse is installed to from your manual installation. For example, I manually installed Helios to $HOME/eclipse. When the installer gets to the point where it asks for eclipse's path, I specified it as /home/username/eclipse, replacing username with my name of course. That should find the helios installation, and not the installation in /usr/lib/eclipse.
  2. The second way to do it is to manually make and install eclim from the repositories. The guide for this is here, http://eclim.org/guides/development.html#development-build. That will work you through building eclim from the development build, which may be better anyway as there may be new features not in the release version. Be sure to specify the eclipse home files in the Ant command, like so, ant -Declipse.home=/where/you/installed/eclipseto

Hope this helped, and merry days using eclim. It's really great.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文