Re: NetBeans 11.0-vc4 Can't Set Source Code Level to 12

2019-04-12 Thread John Nashorn
void main(String[] args) { > var test="I believe I can fly"; > } > } > > I'm assuming you're doing the above since 'var' is local variable type > inference, i.e., LOCAL. > > Gj > > > On Fri, Apr 12, 2019 at 2:22 PM John N

Re: NetBeans 11.0-vc4 Can't Set Source Code Level to 12

2019-04-12 Thread John Nashorn
he system module path: Changing source level to 1.8 WARNING [null]: Last record repeated again. ยป On 2019/04/12 09:15:03, Geertjan Wielenga wrote: > "var" declarations were introduced in JDK 10. > > https://www.youtube.com/watch?v=GB1tY_qrLrU > > Hope it helps, >

NetBeans 11.0-vc4 Can't Set Source Code Level to 12

2019-04-12 Thread John Nashorn
Hi All, I'm currently using convenience binaries of NetBeans 11.0-vc4 on Windows 10 (64 bit system), running with OpenJDK-12 , etc. I'm changing my projects source code level from 1.8 to 12 but unable to use new language features coming with new versions of Java, such as local variable type inf