The log: http://pastebin.ca/169374 AFAIS '-classpath db.jar' should be '-classpath ../db.jar'. Though, still, AFAIK Java herd does not want examples to be compiled. Instead ship them as source code. I will attach a patch not to compile the examples.
Created attachment 97006 [details, diff] do not compile Java examples
It works for me at least on the non-masked 4.3 version.
Could you past your emerge info. Could it be that this is enabled by the doc useflag?
sys-libs/db-4.4.20_p2 USE="gcj java -bootstrap -doc -nocxx -tcl -test" No. As you can see from the patch they build always.
Well, I do not need BDB Java anymore and noone else seems to have this. Looks like a gcj issue. closing...