Remove apt from java alternatives.

It is deprecated and conflicts with Debian apt package.

Closes #16