Reputation: 994
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`
... or ...
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.
Please let me know if someone fixed it
Upvotes: 1
Views: 1580
Reputation: 4350
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?
Upvotes: 1