From the console javac
builds with JDK 14 fine.
Using sdkman
to install JDK
14 as:
thufir@dur:~$
thufir@dur:~$ which java
/home/thufir/.sdkman/candidates/java/current/bin/java
thufir@dur:~$
thufir@dur:~$ java -version
openjdk version "14.0.1" 2020-04-14
OpenJDK Runtime Environment AdoptOpenJDK (build 14.0.1+7)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 14.0.1+7, mixed mode, sharing)
thufir@dur:~$
thufir@dur:~$ javac -version
javac 14.0.1
thufir@dur:~$
Netbeans only shows the sources
as 11:
but 14 is available as a platform:
How can I set 14 as the default platform (or even remove 11), but, more importantly, set 14 as the sources
version for the project as in the first screenshot?
see also:
how to use Java 9 zulu from sdkman?
even creating a new project still shows the source binary as 11 and not 14 with no way to select 14. Ideally, would remove 11 entirely and just go to 14.