fixed win7 jdk8 bug