我已经安装了Eclipse为Android和工作好。当我试图启动一个java文件,我得到了以下错误:VM的初始化过程中出现错误 爪哇/郎/ NoClassDefFoundError的:爪哇/郎/ REF / FinalReference
经过一番研究,我知道这是一些与buildpass,但在尝试我没有得到它的工作之后。我删除了一切(Eclipse中的Java,Android的),并重新安装一切,但与同disapointing结果。可能有人向我解释怎么做,因为我从互联网上尝试对我来说没有工作。
解决方案 找到运行配置 - > Java应用程序 在新配置的Classpath选项卡,找到的Android库引导下的条目,并删除它。 仍然在Classpath选项卡中,选择引导项,然后单击高级按钮。 选择添加库,然后单击确定。 选择JRE系统库,然后单击下一步。 选择工作空间缺省JRE,然后单击Finish(完成)。 根据http://www.frickingnutz.com/files/android_pdf/FAQs.pdfI've installed Eclipse for android and that works okay. When I try to start a java-file I got the following error: Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/ref/FinalReference
After some research I know it was something with buildpass but after trying I didn't got it to work. I removed it all (Eclipse, Java, Android) and reinstall everything but with the same disapointing result. Could somebody explain to me what to do because what I tried from the internet didn't work for me.
解决方案Based on http://www.frickingnutz.com/files/android_pdf/FAQs.pdf