任何人都可以在Mac OS 10.5.8上运行eclipse galileo [英] can anyone run eclipse galileo on mac os 10.5.8
问题描述
我在Mac OS x 10.5.8中试图运行eclipse有一个严重的痛苦。我试过每个版本的碳,可可,32,64位,但没有什么工作我不断得到
I am having a serious pain trying to run eclipse in mac os x 10.5.8. I tried every version carbon, cocoa, 32, 64 bit but nothing works i keep getting
java.lang.NoClassDefFoundError`
java.lang.NoClassDefFoundError`
...或...
内部错误发生在:启动TestFooBasicTest。无法初始化类com.ibm.icu.impl.JavaTimeZone错误。
An internal error occurred during: "Launching TestFooBasicTest". Could not initialize class com.ibm.icu.impl.JavaTimeZone error.
...当我尝试运行主类。
... when I try to run the main class.
我知道堆栈溢出中有另一个线程,但如果有人修复,则没有正确的答案。
I know there's another thread in stack overflow but there's no proper answer if someone fixed it.
请让我知道有人修改了
推荐答案
ICU开发人员在这里。您可以将此代码保存为tztest.java,然后运行javac tztest.java; java tztest
ICU developer here. Can you save this code as 'tztest.java' and then run "javac tztest.java ; java tztest"
public class tztest {
public static void main(String args[]) {
String[] availableIds = java.util.TimeZone.getAvailableIDs();
System.out.println("Length: "+availableIds.length);
for (int i = 0; i < availableIds.length; i++) {
System.out.println("ID #"+i+": "+availableIds[i]);
}
}
}
不要粘贴整个输出(可能是几百行)..但是有空字符串吗?
Don't paste the whole output (may be several hundred lines).. but are there any NULL strings?
这篇关于任何人都可以在Mac OS 10.5.8上运行eclipse galileo的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!