Exclusion of running Eclipse Luna (SR1) on OSX

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) 

Is this from someone new download eclipse-java-luna-SR1-macosx-cocoa-x86_64.tar.gz having the same problem?

I am not getting any output in my console windows in eclipse, assuming this is due to the above error.

+6
source share
2 answers

See question 26077296

The cast class exception is regression in the Equinox Eclipse 4.4.1 component (Luna SR1): https://bugs.eclipse.org/bugs/show_bug.cgi?id=445122

Several components were broken.

+4
source

A workaround that saved a lot of headache for me, because the eclipse doesn't start at all.

Adding the following lines to eclipse.ini helped.

 -Dosgi.configuration.area.default=null -Dosgi.user.area.default=null -Dosgi.user.area=@user.home -Dosgi.instance.area.default=null 

and then. / eclipse -clean

Then do the update in the help menu.

and then just run eclipse, as you have done so far.

0
source

Source: https://habr.com/ru/post/976075/


All Articles