cmd:grep-available 

Get a list of all JVMs available in Debian:

grep-available -F Provides -sPackage java-virtual-machine

To see the list of Java packages in main (i.e., not contrib and non-free), try:

grep-available -F Depends -sSection,Package java | paste -sd "  \n" | \
  grep -v contrib | grep -v non-free | sort