Turn on Preview Features to try new Java Features

The latest versions of Java contain "Preview Features", features that are fully functional but require developer feedback. Try them out in IntelliJ IDEA.

If you want to use preview features in the latest versions of Java in IntelliJ IDEA, you need to set the language level to Preview.

Go to Project Structure, ⌘; (macOS) / Ctrl+Alt+Shift+S (Windows/Linux), make sure you have the correct JDK selected, and pick the "Preview" option from the Language Level dropdown.

Interested in JVM Development?

call to action image

Did you know you can get IntelliJ IDEA to download your JDK too?

Learn More


Related Resources

Migrating from the `javax` to `jakarta` namespace
Migrating from the `javax` to `jakarta` namespace
How to transition your application from Java EE to Jakarta EE.
Presenting with IntelliJ IDEA.
Presenting with IntelliJ IDEA.
Tips & tricks to level up your presentation skills with IntelliJ IDEA.
Hello World in IntelliJ IDEA
Hello World in IntelliJ IDEA
Create a new Java application and JAR file that prints `Hello World` to the console.