Hide Forgot
Description of problem: I am trying to build a Java project the proper way for Fedora. This requires to replace all bundled jars with the Fedora distribution versions. When I replace the bundled ecj.jar with the Fedora ecj.jar the build fails with: Class not found: org.eclipse.jdt.core.JDTCompilerAdapter Version-Release number of selected component (if applicable): ecj-3.4.2-9.fc15.x86_64 How reproducible: Always Additional info: The Fedora ecj.spec contains the lines: # JDTCompilerAdapter isn't used by the batch compiler rm -f org/eclipse/jdt/core/JDTCompilerAdapter.java Can this class be restored in the Fedora version?
Are you perhaps looking for org.eclipse.jdt.core provided (now) by eclipse-platform?
I experienced this issue in Fedora16. I tried to build a project with ant using Eclipse compiler, however got a "Class not found: org.eclipse.jdt.core.JDTCompilerAdapter". The reason was that Fedora could not find the ecj.jar. My ecj.jar was located at /usr/share/ant/lib. I needed to define ANT_HOME variable as: export ANT_HOME="/usr/share/ant/"
Closing, as the class is provided by eclipse-platform per comment #1.