remember Ender 32 Bit with Java 32 Bit (javaw.exe) or Ender 64 Bit and Java 64 Bit (java.exe) !
if you have both Bit versions of Java installed you can use both Bit Versions of Ender but the run.bat in each Ender has to point to the right JRE and the right file (see above)