How to solve “error could not find java runtime 2 environment” while opening an IDE in windows


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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s