The new directory is located here: C:\Program Files (x86)\Java\jre1.8.0_51\bin\javaw.exe Copy the javaw.exe and paste it in C:\Windows\SysWOW64\