When emerging sys-libs/db with USE="java" (I have sun-jdk-1.5.0) javac stops complaining that a variable cannot be named 'enum' because it is a keyword in java 1.5. Reproducible: Always Steps to Reproduce: 1. make sure that sun-jdk-1.5.0 is installed and it is being used. 2. USE="java" emerge sys-libs/db Actual Results: javac shows compile errors. you should add the '-source=1.4' switch to the javac command line, to force .java source compatibility with java 1.4, where enum was not keyword. Even better is to use -source=1.3 because this is the default value for all javac prior 1.5.
which version of sys-libs/db?
sys-libs/db-4.1.25_p1-r3. I already have it installed, but without java support.
I just added a patch in cvs that renames the symbol so it compiles fine with jdk-1.5