Re: java.sql missing from java.base in Netbeans 16 JDK 18 defaults

2023-02-13 Thread Sean Carrick
Amitabh, Just to clarify, since I missed stating this in my last two messages regarding your issue... When developing a /modular/ Java project, the only items that should be listed in your Libraries node in the Projects window of NetBeans IDE should be the JDK that you are currently using an

Re: java.sql missing from java.base in Netbeans 16 JDK 18 defaults

2023-02-13 Thread Sean Carrick
One more time... You _/*must add the dependency in your module.info file*/_. The only module of the JDK that is included by default in any modular Java project is the java.base module. /All other needed modules *must be* manually included in your module-info.java file. /For example: module m

Re: java.sql missing from java.base in Netbeans 16 JDK 18 defaults

2023-02-13 Thread Ernie Rael
The sql stuff is not in the "java.base" module; there are separate modules for the sql stuff. I don't use modules, but I'm guessing the problem is how your app (not NetBeans) is configured. -ernie On 23/02/13 9:45 AM, Amitabh Choudhury wrote: Hello This is in continuation of my previous mail