Eclipse application crashes on Ubuntu 18.04

前提是你 提交于 2020-01-15 09:40:08

问题


I am running Trace compass on Ubuntu 18.04. I installed eclipse from Ubuntu Software but when I run Trace compass I get the error log:

eclipse.buildId=unknown
java.version=10.0.1
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64 -data @noDefault

!ENTRY org.eclipse.osgi 4 0 2018-05-20 18:51:41.714
!MESSAGE Application error
!STACK 1
org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError:       javax/annotation/PostConstruct
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:410)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:318)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)

回答1:


Try downloading version 4.8 from http://www.eclipse.org/downloads/ here.Worked for me.



来源:https://stackoverflow.com/questions/50440132/eclipse-application-crashes-on-ubuntu-18-04

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!