Fix Oracle JDK version parsing when OpenJDK is installed
Improve documentation in test section