Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Failed to find a Main Class, requesting immediate assistance
Failed to find a Main Class, requesting immediate assistance [message #1826109] Sun, 19 April 2020 18:01 Go to next message
Eric Song is currently offline Eric SongFriend
Messages: 3
Registered: April 2020
Junior Member
When I attempt to open Eclipse, I receive the alert {Failed to find a Main Class in"/Users/ericsong/Downloads/Eclipse.app/Contents/MacOS//../Eclipse/plugins/org.eclipse.equinox.launcher_1.5.700.v20200207-2156.jar".}. I'm currently running on a 10.15.4 macOS Catalina and just installed the JavaForOSX.dmg recommended by Apple, a Java SE 6 runtime. How may I resolve this issue?
Re: Failed to find a Main Class, requesting immediate assistance [message #1826127 is a reply to message #1826109] Mon, 20 April 2020 04:46 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 31640
Registered: July 2009
Senior Member
Eclipse needs Java 8 or higher. And I believe on Mac you just install a JDK not just a JRE.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Failed to find a Main Class, requesting immediate assistance [message #1826186 is a reply to message #1826127] Mon, 20 April 2020 18:06 Go to previous message
Eric Song is currently offline Eric SongFriend
Messages: 3
Registered: April 2020
Junior Member
Thank you for getting back to me. I have already download and installed jdk-13.0.2 and jdk-8u251 for 64 bits. By editing the -vm on eclipse.ini to /usr/bin I am now able to open Eclipse, though when any class is run, I receive the error in console "Error: missing `server' JVM at `/Library/Java/JavaVirtualMachines/jdk-13.jdk/Contents/Home/lib/server/libjvm.dylib'.
Please install or use the JRE or JDK that contains these missing components." How may I resolve this issue?
Previous Topic:An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase.
Next Topic:External Tool option in Eclipse ribbon displaying Error
Goto Forum:
  


Current Time: Sat Dec 05 13:06:43 GMT 2020

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

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

Back to the top