Java 14 Preview features



How do I enable the following preview features using mac open jdk Java 14?

I'm using version:


IntelliJ IDEA 2021.2.2 (Ultimate Edition)
Build #IU-212.5284.40, built on September 14, 2021

Runtime version: 11.0.12+7-b1504.28 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 11.6
GC: G1 Young Generation, G1 Old Generation

1 comment

These features are no longer in preview as there is a final JDK version available with these features, please check these links:

See also If you really need to use the preview features of the older Java releases, you will have to use the older IDE version for that:


Please sign in to leave a comment.