JDK version update

Answered

Hi,
Env: Win 7 Enterprise.

I installed the JDK 1.8.0.111. Now I have 2 folders under C:\Program Files\Java:
jdk1.8.0_92
jdk1.8.0_111
Updated env variables JAVA_HOME & PATH
What needs to be done in IDEA so that it uses jdk 1.8.0.111?

Thx.

0
2 comments

To use the new version for your projects you need to remove the old JSDK in Project Structure | SDKS dialog and add a new one (under the same name so that all your projects use it automatically).

I usually prefer to install Java updates into the same directory named C:\Program Files\Java\jdk1.8, uninstalling the previous version before that.

This way I don't have to change any configuration in IDE or update any of the system environment variables.

0
Avatar
Permanently deleted user

Amazingly quick response!!
Worked.
I know your help is awesome, not sure if this step is clear enough...again, it could be me who didn't understand...

Serge, you guys rock...:)...wishing a great year for Jetbrains.

0

Please sign in to leave a comment.