title: Gradle 6.5 and Java 14 - IllegalArgumentException: Cannot convert string value 'VERSION_14' to an enum value of type
body: <p>I am using Windows7, STS 4.6.2 , Gradle 6.5 and OpenJDK 14.
  When creating a new Spring Started project with the following settings</p>
  
  <p><a href="https://i.stack.imgur.com/jwimd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jwimd.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/j0aZg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/j0aZg.png" alt="enter image description here"></a></p>
  
  <p>The Following error occurs.</p>
  
  <p>IllegalArgumentException: Cannot convert string value 'VERSION_14' to an enum value of type 'org.gradle.api.JavaVersion' (valid case insensitive values: VERSION_1_1, VERSION_1_2, VERSION_1_3, VERSION_1_4, VERSION_1_5, VERSION_1_6, VERSION_1_7, VERSION_1_8, VERSION_1_9, VERSION_1_10, VERSION_11, VERSION_12, VERSION_13, VERSION_HIGHER)
  java.lang.reflect.InvocationTargetException</p>
  
  <p>Works fine with Java 11.I have checked and the compiled class inside the lib folder of Gradle : org.gradle.api.JavaVersion , contains the enum VERSION_14, not sure what is wrong here?</p>