Bugfix when not had JDK installed