Eclipse can't run Java after recent update

Problem:
Yesterday evening, I applied some updates regarding OpenJDK that were offered automatically. I have installed both OpenJDK 6 and 7. I still can run Java applications outside of Eclipse, but not in Eclipse any more. Further, if in Eclipse, I open Preferences and select Java > "Installed JREs", the view is empty except of the following message: "An error has occurred when creating this preference page." A separate dialogue opens which says: "Unable to create the selected preference page. An error occurred while automatically activating bundle org.eclipse.jdt.debug.ui (322)."



Solution:
Putting this line
-Dcom.ibm.icu.util.TimeZone.DefaultTimeZoneType=ICU
  at the end of eclipse.ini seems to have solved the issue.
posted @ 2012-09-18 14:09  德飞  阅读(433)  评论(0编辑  收藏  举报