I have installed netbeans (Apache version) with JDK 10 successfully, but can\'t use var keyword in my project, It keep saying cannot find symbol. A
var
cannot find symbol
If you are using maven project, make sure that maven.compiler.source and maven.compiler.target are all pointing to 10.
10 10