Fix test condition in ansible-java

java -version outputs to STDERR by default.