It's all about the answers!

Ask a question

Class not found: org.eclipse.jdt.core.JDTCompilerAdapter

Torben Knerr (41112) | asked Feb 05 '08, 10:22 a.m.
Hi all,

I am trying to set up a Jazz Build using the example file in $JAZZ_HOME$/buildsystem/buildtoolkit/examples.

However, I can not run the example because the buildserver can not find the org.eclipse.jdt.core.JDTCompilerAdapter class. The JDK the buildserver uses ("Java Home" entry in the Build Definition) is set to $JAZZ_HOME$\client\eclipse\jdk.

Do I have to manually extend the classpath of the JBE? I am wondering that it doesn't work out of the box...

Thanks and best regards,

2 answers

permanent link
Ryan Manwiller (1.3k1) | answered Feb 05 '08, 12:08 p.m.
In the build definition, Ant page, did you set the antArgs to include "-lib
C:\ecj.jar" (assuming you saved the ecj.jar to C:\ )

See step 3 in

Ryan Manwiller
Jazz Team Build

permanent link
Torben Knerr (41112) | answered Feb 05 '08, 2:13 p.m.
Thanks for the hint, that does the trick :)


Your answer

Register or to post your answer.