Corrected warning about java runtime
Merge pull request #1677 from lassewesth/warningsaboutjavaruntimeandversion

Corrected warning about java runtime