You'll also need to BR eclipse-swt and add
%{_libdir}/java/swt.jar to
the classpath. Also, set jdk.home in build.properties to something
reasonable, say /usr/lib/jvm/java. Regards,
There's a macro for the Java home,
%{java_home}, set to
/usr/lib/jvm/java by the way.