Return to site

USE ECLIPSE WITH JAVA 14

· java,coding
  1. Download the JDK:  https://www.oracle.com/java/technologies/javase-jdk14-downloads.html
  2. Install it 
  3. Download last version of eclipse: https://www.eclipse.org/downloads/download.php?file=/oomph/epp/2020-06/M1/eclipse-inst-win64.exe
  4. Add the JRE of JDK 14 in Eclipse (Windows->Preferences->Installed JREs->Add
  5. Set the compiler JDK compliance level to 14 (Windows->Preferences->Compiler->Compiler compliance level->Select 14
  6. Enable the preview features (such as Record, Text blocks, Switch, Pattern matching) (Windows->Preferences->Compiler->Compiler compliance->Untick 'Use default compliance settings'->Tick 'Enable preview features for Java 14'
  7. Enjoy the Java 14 new features (preview): Record, Text blocks, Switch, Pattern matching
All Posts
×

Almost done…

We just sent you an email. Please click the link in the email to confirm your subscription!

OK