Problem installing jMAVSim

When trying to install jMAVSim according to instructions here:
https://pixhawk.org/dev/hil/jmavsim

I got the following message about the jdk and jre files not available. Is there a workaround for this?

Joe

joe@joe-VirtualBox:~$ sudo apt-get install ant openjdk-7-jdk openjdk-7-jre
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package openjdk-7-jre is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package openjdk-7-jdk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package ‘openjdk-7-jdk’ has no installation candidate
E: Package ‘openjdk-7-jre’ has no installation candidate