Many times it happen that the IDE which you are installing is not compatible with the old JDK version. And when you try to open the IDE this error pops up.
This is because the oldversion of JDK is set . There are many ways to get this correct of which the one i prefer most is as follows:
- Open your Registory Editor by doing ‘Windows’ button + ‘R’ key
- type regedit
- goto :HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Runtime Environment\
- Change to current value of ‘CurrentVersion’ to the desired JDK version
And open the IDE now.