Oracle recently released JDK 15, and I'm wondering if Apache NetBeans 12.1, the latest version of the NetBeans IDE, supports JDK 15. I understand that NetBeans doesn't officially support JDK 15, but I'm asking if anyone knows that it unofficially supports it. Thanks!
Apache NetBeans 12 feature update 1 (NB 12.1) was released on September 1, 2020; JDK 15 was released on September 15, 2020. JDK 15 was released after NetBeans 12.1 so it is not officially supported. Also as mentioned by the NetBeans download page, JDK 14 was the latest JDK version at the time when NetBeans 12.1 was released.
However I downloaded NB 12.1 and JDK 15 and tried it. It seems to have no problems. I also created a simple hello world example using JDK 15's text block and it works as expected (code below).
public class NewClass {
public static void main(String[] args){
String txtblock = """
hello world
""";
System.out.println(txtblock);
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With