I was earlier running my project using Java 1.7 but now I have to upgrade it to version 1.8. I have it installed as an alternative installation on my CentOS.
The location of Java8 is at /opt/jdk1.8.0_25/
and the current Java is at /usr/java/jdk1.7.0_67/
. My system's JAVA_HOME
also points to /usr/java/jdk1.7.0_67/
.
As soon as I add the new SDK I get this error: Cannot Save Settings: Please specify a different SDK name
.
How should I solve this issue?
This means you already have a SDK with this name (cause the messge key in jetbrains is : sdk.list.unique.name.required.error
).
Remove the SDK before creating it once again.
Source : IntelliJ IDEA 14.1.1 Help/Configuring Global, Project and Module SDKs