【发布时间】:2010-01-05 08:37:23
【问题描述】:
在安装 java (apt-get install sun-java6-jre sun-java6-plugin sun-java6-jdk) 之后,我在 Debian Lenny 上安装了 Eclipse。
当我运行 Eclipse 时,在选择将用作工作区的文件夹时,我收到以下消息:
GCJ has been detected as the current Java virtual machine.
Use of GCJ is untested and unsupported.
Please consult the documentation for more
我只是忽略了这条消息并进入“帮助”->“软件更新”来安装 android 开发工具。当我添加“https://dl-ssl.google.com/android/eclipse/”来下载开发者工具时,我得到了一个错误(见下文)并且安装无法继续。 这是由于我上面收到的垃圾收集器消息吗?
以下是我在运行 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!
....
非常感谢您的帮助, 卢克
【问题讨论】: