The library I am planing to use is a jdbc driver for a MySQL, it is in a jar file format.
mysql-connector-java-8.0.16.jar
To use this jar file I added an extra line to the module-info file.
requires mysql.connector.java;
After doing this, I created the following directory structure
C:.
├───javaprojects
    │    mysql-connector-java-8.0.16.jar
    │
    └───Hour
        │   module-info.java
        │
        └───com
            └───java24hours
                 |
                 Example.java
However, when compiling Example.java I get the following compile errors
module not found: mysql.connector.java
error: cannot access module-info
cannot resolve modules
So what could be the problem? (BTW I am using notepad to create my java files)
 
     
     
    
 
    