3 Move repeated code in install/remove scripts to a single point; apply the DRY (don't repeat yourself) principle.
4 Change handling of alternatives to allow for multiple directories, i.e. when you have executables in both bin and jre/bin in a JDK.
5 Remove use of dpkg --print-architecture from plugin alternatives installation in install/remove scripts.
7 From Matthias Klose <doko@ubuntu.com> :
9 Support the .jinfo files (update-java-alternatives)
10 Install into a multiarch location to allow installing the i386 client vm on amd64 and ia64.