Cannot Save Settings: Please specify a different SDK name

Answered

I installed Anaconda with TensorFlow as specified here, but when I use my Anaconda environment, I get the error: Cannot Save Settings: Please specify a different SDK name. What am I doing wrong?

0
5 comments
2

Deleting jdk.table.xml from my intelliJ settings just fixed my Java IDE too - thanks! :D

1

For folks coming across this in the future and to save some time for you. You can use the following command to quickly find where this file is:

find ~/Library/Application\ Support/JetBrains -name 'jdk.table.xml'
1

Thanks Geoff  and Gordon Pn6 , that fixed the issue for me with Java SDK in IntelliJ

0

I had the same issue in IntelliJ IDEA 2024.1.6 on mac: I installed openjdk (java version 25) with homebrew, but when I was trying to add an SDK in IDEA Platform Settings > SDKs – I got “SDK may be corrupted” error and if I ignored it and trying to save settings anyway – I got  “Cannot Save Settings: Please specify a different SDK name” error.

Thanks to Gordon Pn6 comment, I was able to fix it by manually editing the `jdk.table.xml` config file : I added the java25 sdk manually by copy-pasting java24 config and replacing the file path! That worked perfectly, but that seems like a really odd way to solve a problem. JDKs installed with homebrew should definitely import well.

0

Please sign in to leave a comment.