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?
Please sign in to leave a comment.
Please try to rename jdk.table.xml from Pycharm settings directory: https://intellij-support.jetbrains.com/hc/en-us/articles/206544519-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs. Does it help?
Deleting jdk.table.xml from my intelliJ settings just fixed my Java IDE too - thanks! :D
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:
Thanks Geoff and Gordon Pn6 , that fixed the issue for me with Java SDK in IntelliJ
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.