Question: i have jre but no jdk?
Answer: Sounds like you have a 32 bit JDK and a 64 bit JRE. 64 bit software is installed in the "program files" folder, and 32 bit software is installed in the "program files (x86)" folder. Download the 64 bit JDK installer and install it, and then point your JAVA_HOME to it.