Use global scope for javaHome