Created attachment 563948 [details]
patch to use whatever verison of openjdk is available
OpenJDK7 is the default java runtime in F17. OpenJDK6 will probably be removed at some point once upstream stops supporting it with security updates. db4 does not really depend on a specific version of OpenJDK - OpenJDK7 should work just fine. The attached patch makes db4 build using the latest version of OpenJDK, whatever that happens to be.
Please see https://fedoraproject.org/wiki/Java7_Package_Rebuild_Status for more information.
Pushed. Thanks Omair.