Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Cannot launch eclipse on macOS Catalina(specified jvm, eclipse still wont start)
Cannot launch eclipse on macOS Catalina [message #1821837] Thu, 20 February 2020 21:11 Go to next message
Alwyn Smith is currently offline Alwyn SmithFriend
Messages: 1
Registered: February 2020
Junior Member
I'm unable to get eclipse to launch.
It throws the error: "See the log file .../eclipse-workspace/.metadata/.log"

/usr/libexec/java_home --verbose
Matching Java Virtual Machines (2):
    13.0.2, x86_64:	"Java SE 13.0.2"	/Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home
    1.8.0_51, x86_64:	"Java SE 8"	/Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home

I've since deleted Java SE 8

Per the sticky post at the top I've already been into the eclipse.ini file and added

However, I'm still getting the error.
When I open the log file, I find this output :
!SESSION 2020-02-20 15:05:28.851 -----------------------------------------------
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.cpp.product -keyring /Users/alwynsmith/.eclipse_keyring
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.cpp.product -keyring /Users/alwynsmith/.eclipse_keyring

!ENTRY org.eclipse.osgi 4 0 2020-02-20 15:05:32.369
!MESSAGE Application error
org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
        at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(
        at org.eclipse.e4.core.internal.di.InjectorImpl.make(
        at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(
        at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultHeadlessContext(
        at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultContext(
        at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(
        at org.eclipse.ui.internal.Workbench.lambda$3(
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
".log" 79L, 6204C

I don't know what else to do at this point.

Re: Cannot launch eclipse on macOS Catalina [message #1821839 is a reply to message #1821837] Fri, 21 February 2020 00:56 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4417
Registered: July 2009
Senior Member

Running with a more recent release of Java 1.8, or switching to the current version of that package, would probably work fine.

Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:IProgressMonitor accessible from more one module
Next Topic:Eclipse profiler plug-in - any comments?
Goto Forum:

Current Time: Wed Feb 21 05:51:04 GMT 2024

Powered by FUDForum. Page generated in 0.02720 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top