Here is a screenshot of IntelliJ 2017.3.3 "New Project" dialog box.
Note how the Project SDK
popup shows in red text an older release of Java 9 that I physically deleted from my Mac (from the /Library/Java/JavaVirtualMachines folder
).
⇒ How do I delete that particular "Project SDK" setting within IntelliJ?
Clicking the "New" button in the upper-right of that dialog lets me add another JVM but does not allow me to delete.
The android sdk is stored in usr/local/share/android-sdk .
From the main menu, select File | Project Structure | Project Settings | Modules. Select the module for which you want to set an SDK and click Dependencies. If the necessary SDK is already defined in IntelliJ IDEA, select it from the Module SDK list.
Select Project Structure from the File menu.
Click SDKs in the left column and select the SDK you want to remove.
Click the Delete icon (the minus sign).
Click Apply (essential!) then OK to close the Project Structure window.
I just tried this in 2017.3.3 and it worked fine. The JetBrains documentation states that you can also click Alt+DELETE instead of clicking the Delete icon, but that didn't work for me.
Here's the screen:
To be clear, this action means that the SDK you just removed will no longer be available when you try to create a new project; that SDK will have to be added again on an individual project basis if needed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With