When starting eclipse I get the following error on mac
01:37:17 ~/Downloads/eclipse$ ./Eclipse.app/Contents/MacOS/eclipse
org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized. Will retry after the state location is initialized.
org.eclipse.m2e.logback.configuration: Logback config file: /Users/ben/Development/workspace.luna2/.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.5.0.20140606-0033.xml
org.eclipse.m2e.logback.configuration: Initializing logback
java.lang.ClassCastException: org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast to java.lang.String
at org.eclipse.m2e.logback.configuration.LogHelper.logJavaProperties(LogHelper.java:26)
at org.eclipse.m2e.logback.configuration.LogPlugin.loadConfiguration(LogPlugin.java:189)
at org.eclipse.m2e.logback.configuration.LogPlugin.configureLogback(LogPlugin.java:144)
at org.eclipse.m2e.logback.configuration.LogPlugin.access$2(LogPlugin.java:107)
at org.eclipse.m2e.logback.configuration.LogPlugin$1.run(LogPlugin.java:62)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
This is from a fresh download of eclipse-java-luna-SR1-macosx-cocoa-x86_64.tar.gz
anyone else having the same issue?
I'm not getting any output in my console windows within eclipse, assuming it's related to the above error.
Are you getting below eclipse startup error? A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No
You have open eclipse.ini file and change -vm path to correct JDK location. In my case it’s /Library/Java/JavaVirtualMachines/jdk1.10.001.jdk/Contents/Home/bin. Now try restarting your eclipse by clicking eclipse.app icon and error should go away. Let me know if you face any issue starting Eclipse application.
You have open eclipse.ini file and change -vmpath to correct JDK location. In my case it’s /Library/Java/JavaVirtualMachines/jdk1.10.001.jdk/Contents/Home/bin. Now try restarting your eclipse by clicking eclipse.app icon and error should go away.
A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Skip to main content Skip to primary sidebar Skip to footer Additional menu Crunchify Largest free Technical and Blogging resource site for Beginner. We help clients transform their great ideas into reality! Java Abstract Class & Method
See question 26077296
The class cast exception is a regression in Eclipse 4.4.1 (Luna SR1) Equinox component: https://bugs.eclipse.org/bugs/show_bug.cgi?id=445122
A number of components were broken by that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With