Test app only with java 1.8

It is run with that version.