gpt4 book ai didi

android - Debian Lenny 上的安卓版 Eclipse

转载 作者:行者123 更新时间:2023-11-29 22:34:58 25 4
gpt4 key购买 nike

我在安装 java 后在 Debian Lenny 上安装了 Eclipse (apt-get install sun-java6-jre sun-java6-plugin sun-java6-jdk)。

当我运行 Eclipse 时,在选择将用作工作区的文件夹时出现以下消息:

GCJ has been detected as the current Java virtual machine.
Use of GCJ is untested and unsupported.
Please consult the documentation for more

我只是忽略了这条消息并进入“帮助”->“软件更新”来安装安卓开发工具。当我添加“https://dl-ssl.google.com/android/eclipse/”以下载 Developer 工具时,出现错误(见下文)并且安装无法继续。这是由于我在上面收到的垃圾收集器消息吗?

以下是我在运行 eclipse 的控制台上遇到的错误:

lj:/home/luc# eclipse/eclipse
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
Error while logging event loop exception:
java.lang.OutOfMemoryError
<<No stacktrace available>>
Logging exception:
java.lang.OutOfMemoryError
<<No stacktrace available>>
GC Warning: Out of Memory! Returning NIL!
....

非常感谢您的帮助,吕克

最佳答案

这条消息就是你的线索:

GCJ has been detected as the current Java virtual machine.

这意味着你的系统Java仍然是GCJ版本,而不是Sun版本。

如果你不需要 GCJ 做其他事情,你可以删除包(apt-get removeapt-get purge)。不过,这可能会破坏其他依赖关系。

否则,请使用 update-alternatives 配置哪个包提供您的 javajavac 命令:

update-alternatives --config java
update-alternatives --config javac

Source

关于android - Debian Lenny 上的安卓版 Eclipse,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2004828/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com