You can always force NWDS to use a specific Java virtual machine by going into the SapNetweaverDeveloperStudio.ini file that is in the same folder as SapNetweaverDeveloperStudio.exe and add the -vm argument followed by the location of a correct JDK
For example
...
-vm
C:/Program Files/Java/jdk1.8.0_65/bin
..