I don't think the third preview was implemented, but the second preview worked already in NB 22 (no default imports and no module imports).

-mbien

On 30.07.24 18:10, Kenneth Fogel wrote:
I downloaded and compiled the most recent NetBeans 23 build and am using an 
early access JDK 23. I wish to run the classic JEP  477 example:

import module java.base;

void main() {
     println("Moose");
}

(I really do not like "Hello World!" but that's my problem.)

I suspect that I have missed a place to add the -enable-preview and -source 23 
so that it can run.

Is this feature supported by NetBeans?

Ken




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to