Packages with the java use flag

Global definition: Add support for Java.