2.2. Java compilers

Java compilers must provide java-compiler and/or java2-compiler and depend on java-common. They must also depend on the needed runtime environment (java1-runtime and/or java2-runtime).

They should use /etc/alternatives for the name 'javac' if they are command-line compatible with Sun's JDK javac. They should have a CLASSPATH predefined to include the java core classes need for the compiler.