If you are trying to create a new Java Project using IDEA IntelliJ IDE, you may see <NO SDK> for JDK option if you do not have any JDK available on your device.

The fix is simple, just under the JDK dropdown click on "Download JDK..."

Now select the Java Version you want to download:
Java versions:
20
19
18
17
16
15
14
13
12
11
10
9
1.8
Now select the Java Vendor:
Amazon Corretto
Azul Zulu Community™
BellSoft Liberica JDK
Eclipse Temurin (AdoptOpenJDK HotSpot)
Oracle OpenJDK
SAP SapMachine
Other Versions
GraalVM Community Edition
IBM Semeru (AdoptOpenJDK OpenJ9)
JetBrains Runtime
IA+DrAinA DIntimA / ICCEl
And finally the location where you want to install the JDK
Eg: on macOS~/Library/Java/JavaVirtualMachines/corretto-20.0.1


Once the installation is done, there should be no issues to create a new project.
-
Facing issues? Have Questions? Post them here! I am happy to answer!
More Posts related to Java,
- Convert Java Map Collection Object to JSON String using Jackson
- Java Stream flatmap() Examples
- [Fix] Instant java.time.temporal.UnsupportedTemporalTypeException: Unsupported unit: Years
- How to run Java Unit Test cases with Apache Maven?
- How to check if Java main thread is alive
- [Fix] java: incompatible types: incompatible parameter types in lambda expression error
- Parsing CSV file using Java code example (Comma Separated File)
- Unhandled exception type InterruptedException : Java Threads
- Native getClass() method from java.lang.Object Class Explained with examples.
- Java Jackson ObjectMapper Class with Examples
- Java 8 Streams map() with examples
- Java 8 - Convert List to Map Examples
- IntelliJ: Error: Could not find or load main class, java.lang.ClassNotFoundException
- Java Stream with Multiple Filters Example
- How to Clear StringJoiner in Java 8
- Spring 5 IoC Example with application Context XML (ClassPathXmlApplicationContext) and Gradle.
- How to get end of line (EOL) or new line character \r \n in Java
- Spring Boot CRUD Examples using JDBCTemplate
- Delete a File in Java with Examples
- Implementing Insertion Sort Algorithm in Java Program
- Java JDBC Batch Update Example with PreparedStatement
- Java JDBC Select Multiple Records from table as List using PreparedStatement
- [Hibernate] The method buildSessionFactory() from the type Configuration is deprecated
- How to fix Java HTTP java.net.UnknownHostException
- Java 8 Display time in 12 hour AM PM format
More Posts:
- The authenticated user is not authorized to access this resource - Stream/SharePoint/Teams/OneNote - Microsoft
- How to get the SharePoint Tenant Login URL - SharePoint
- How to Parse XML String in Python - Python
- Java Check if String is Alphanumeric using Regular Expression (RegEx) - Java
- How to update Cargo (Rust Lang) - Rust
- MySQL: How to know which Database Schema you are on in Terminal - MySQL
- Robinhood unexpected server error - Android
- Mac: How to show count of files and folders in Finder - MacOS