[fedora-java] Build errors finding javax.annotation on rawhide

Krzysztof Daniel kdaniel at redhat.com
Mon Apr 15 06:55:39 UTC 2013


On Wed, 2013-04-10 at 17:01 -0600, Orion Poplawski wrote:

> Seems like javax.annotation is in 
> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.17.x86_64/jre/lib/rt.jar, so what's up?
> 

This is not exactly the javax.annotation that Eclipse/Tycho expects.
Eclipse/Tycho requires OSGI bundle which is not in Fedora, only the
classes are provided by the jvm. So you need to patch your features to
not include the javax.annotation bundle and bump the execution
environment to 1.6.
Eclipse will use then javax.annotation classes from vm.


--
Best regards,
Chris





More information about the java-devel mailing list