Editing the JDK definition
You can edit your JDK definitions. Select Tools|Configure JDKs. From there, either click the Change button and navigate to the new JDK home directory or edit the path field directly.