Go Go Gnome
the website of Sander Kooijmans

Search in file does not work in Eclipse

Posted: December 16, 2011

When Eclipse is run with GCJ (GNU compiler for Java) the file search does not work properly. This problem can be Solved by adding a file ~/.eclipse/eclipserc with the following content:

export JAVA_HOME=<path-to-jvm>

Replace <path-to-jvm> by the path to the installed JVM of Oracle, for example: /usr/lib/jvm/java-1.5.0-sun-

For details see the bug in the Eclipse bug database.