0
一篇:Ubuntu的,以這種方式安裝了Eclipse:Eclipse IDE的運行錯誤/.metadata/.log
tar -zxvf eclipse.XX.YY.tar.gz
mv eclipse.XX.YY ~/opt
sudo nano /usr/share/applications/eclipse.desktop
[Desktop Entry]
Name=Eclipse
Type=Application
Exec=/home/user/opt/eclipse/eclipse #watch the directory!
Terminal=false
Icon=/home/usr/opt/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE
Name[en]=eclipse.desktop
cd /usr/local/bin
ln -s /opt/eclipse/eclipse
後
(我以前有一個工作區)運行Eclipse拋出的錯誤,閱讀工作區/。元/ .LOG 有人建議刪除:/路徑,以工作區/ .metadata/.plugins/org.eclipse.core.resources 喜歡這裏 http://bugsanddebugs.blogspot.com/2010/06/when-eclipse-says-error-has-occurred.html 但運行 日食-clean 給出了同樣的錯誤。 這幾乎窮盡文章幫一點點...... http://www.eclipsezone.com/eclipse/forums/t99010.html 但仍然無法理解的錯誤:
~/workspace$ egrep -A 2 "Caused by" ~/workspace/.metadata/.log
Caused by: org.osgi.framework.BundleException: Exception in org.eclipse.equinox.console.command.adapter.Activator.start() of bundle org.eclipse.equinox.console.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
--
Caused by: org.osgi.framework.BundleException: Exception in org.apache.felix.gogo.command.Activator.start() of bundle org.apache.felix.gogo.command.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
--
Caused by: java.lang.NoClassDefFoundError: org.apache.felix.gogo.command.OBR
at java.lang.Class.initializeClass(libgcj.so.12)
at org.apache.felix.gogo.command.Activator.start(Activator.java:54)
--
Caused by: java.lang.ClassNotFoundException: org.apache.felix.bundlerepository.Repository
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
--
Caused by: java.lang.ClassNotFoundException: org.apache.felix.bundlerepository.Repository
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
怎麼看這一切呢?
遷移到滿載的gedit(感謝迷人的插件列表!)。但從現在開始使用SublimeText2。幾乎相同的功能可以在gedit中達到一些限制,但更喜歡崇高,因爲同事編程流程的一致性。謝謝大家! – boldnik