Java Eclipse SWT OSX Error

Therefore, I have researched this problem a lot and have not yet found anything useful for me.

This is basically an error:

[Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.100000 

This seems to be due to an Eclipse error.

I tried to run Eclipse Indigo, Eclipse 4.2.1 and Eclipse 4.3 with the same result. I tried to run Eclipse in the second thread, as suggested somewhere by "-XStartThreadSecond" <--- something like that, but Eclipse won't know what seems anymore. So maybe someone found a solution to this after such a long time?

I am running OSX Mountain Lion, JRE 6, above Eclipse, and I also tried to get JRE 7 to work in my Eclipse, but the JRE 7 VM does not exist in the folder in which it should be (I have not installed it anywhere).

EDIT:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=212617

http://www.eclipse.org/forums/index.php/m/809088/

+4
source share
2 answers

I had the same problem when I used JFreeChart, however none of these solutions worked. Every time I tried to run the Java application that created the JFrame, it crashed on a Mac.

However, I realized that I included all the libraries that come with JFreeChart in the build path of the project. If you have the same problem, check your library under: Project → Properties → Java Build Path → Libraries

All you need: jcommon-1.0.17.jar and jfreechart-1.014.jar

If you are not using JFreeChart, still check your build path if using conflicting libraries.

Hooray!

+4
source

I had the same issue with JFreeChart with Eclipse on OSX. It seems that this solution is only jcommon-1.0.17.jar and jfreechart-1.014.jar in your JAR reference path, not the whole list of libraries.

thanks

+1
source

All Articles