Linux issue: Archi not starting anymore

Started by wiebow, May 12, 2019, 12:30:03 PM

Previous topic - Next topic



Archi is nog starting on Linux Mint (Ubuntu-based distro). This used to work fine for me until recently.
The splash logo is shown, but the loading bar is not, and shortly thereafter I get the message that I should look in .log.

Here is the contents of the log:

Quote!ENTRY org.eclipse.e4.ui.workbench 4 0 2019-05-12 13:14:18.933
!MESSAGE FrameworkEvent ERROR
java.lang.NoClassDefFoundError: javax/annotation/PreDestroy
   at org.eclipse.e4.core.internal.di.InjectorImpl.disposed(
   at org.eclipse.e4.core.internal.di.Requestor.disposed(
   at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(
   at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(
   at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.handleInvalid(
   at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(
   at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.dispose(
   at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.bundleChanged(
   at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(
   at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(
   at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(
   at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(
   at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(
   at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(
   at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(
   at org.eclipse.osgi.container.Module.publishEvent(
   at org.eclipse.osgi.container.Module.doStop(
   at org.eclipse.osgi.container.Module.stop(
   at org.eclipse.osgi.container.SystemModule.stop(
   at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$
   at java.base/
Caused by: java.lang.ClassNotFoundException: javax.annotation.PreDestroy cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418
   at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(
   at org.eclipse.osgi.internal.loader.BundleLoader.findClass(
   at org.eclipse.osgi.internal.loader.BundleLoader.findClass(
   at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(
   at java.base/java.lang.ClassLoader.loadClass(
   ... 21 more

Does anyone here have any pointers for me to look at?

Phil Beauvoir

Please make sure that Archi is using Java 8.
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.


That works!

I have no idea why this changed, as I used java 11 for quite some time.

This is how you can switch between java versions on one system:

But, as Java 8 is no longer publicaly available for download, can you keep it as a requirement for Archi?

Phil Beauvoir

We do make it clear that Java 8 is required on the download page. Having said that, I will release a maintenance release very soon that bundles OpenJDK 8 with the Linux 64-bit version so that this will not be an issue. In order to support Java 11 and later we need to use a later version of Eclipse, and there are some issues around that regarding installing plug-ins.
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.


Yes, I know version 8 was required, but as I had no problems on Linux for the longest of times, it never dawned on me that apparantly Java 11 was recently set as the defult Java version on my system. The error log does not mention the java version generating the error, afaik.

Thanks for making sure that version 8 is included, this will help future installations on new machines that do not have 8 installed anymore.