title: Switch between 32-bit and 64-bit JDK platform on Windows 7
body: <p>I am using Windows 7 on my laptop. I am working with jpcap libraries which work only on 32-bit JDK. Having both 32 and 64 bit JDKs installed on my machine. How can I switch between 64-bit and 32-bit JDK?</p>
  
  <p>I tried changing the <code>%JAVAHOME%</code> and <code>%PATH%</code> environment variables, but it didn't work. Should I change anything in the registry?</p>