Fix java autotest.
Fix java autotest.

Change-Id: If8712aa291853e5ff6406e3a8ab1406ec71c39b2
Reviewed-by: Jake Petroules <2d627e1cecd5435752fa500bacbe05f7cc90c369@petroules.com>

qt-labs/qbs,qtproject/qt-labs-qbs,gatzka/qt-labs-qbs,qt-labs/qbs,gatzka/qt-labs-qbs,qtproject/qt-labs-qbs,qt-labs/qbs,qtproject/qt-labs-qbs,gatzka/qt-labs-qbs,qt-labs/qbs,qtproject/qt-labs-qbs,qtproject/qt-labs-qbs,qt-labs/qbs,qt-labs/qbs,qtproject/qt-labs-qbs,qt-labs/qbs,gatzka/qt-labs-qbs,gatzka/qt-labs-qbs,gatzka/qt-labs-qbs,gatzka/qt-labs-qbs,qtproject/qt-labs-qbs