fix for empty javaHome