fix same bugs of path JDK when x86 installed