Don't error out with OpenJDK 1.7
Signed-off-by: Paul Beeler <sparksco@gmail.com>