简体   繁体   English

为什么我在 Ubuntu 20.04 上收到来自 Aptana 的运行错误

[英]Why do I get a run error from Aptana on Ubuntu 20.04

I've installed Aptana Studio 3 and Java 11 on Ubuntu 20.04.我已经在 Ubuntu 20.04 上安装了 Aptana Studio 3 和 Java 11。 When I run it I get as far as the workplace dialog and it then crashes.当我运行它时,我到达了工作场所对话框,然后它崩溃了。 The error log has numerous references to eclipse, such as:错误日志中有大量对 eclipse 的引用,例如:

.ENTRY org.eclipse:osgi 4 0 2020-05-14 20:08.37.125.MESSAGE Application error.STACK 1 org.eclipse.e4:core.di.InjectionException: java.lang.NoClassDefFoundError. .ENTRY org.eclipse:osgi 4 0 2020-05-14 20:08.37.125.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) at org.eclipse.e4.ui.internal.workbench.swt:E4Application.createDefaultHeadlessContext(E4Application.java:491) 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) at org.eclipse.e4.ui.internal.workbench.swt:E4Application.createDefaultHeadlessContext(E4Application.java:491)

and many similar lines.和许多类似的行。

What am I doing wrong?我究竟做错了什么?

John约翰

I've found the answer.我找到了答案。 Aptana won't work with Java 11. I replaced that with Java 8 and all is well. Aptana 不适用于 Java 11。我用 Java 8 替换了它,一切都很好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM