I have a class Utilities.java that I'd like to turn into a library that I can include in subsequent projects.
I did New project, Java class library and named the class Utilities and put it into the C:\Users\Dov\Google Drive\NetBeansProjects\Utilities folder.
In a new project, I tried to add the library via Libraries, Add jar/folder and gave the name C:\Users\Dov\Google Drive\NetBeansProjects\Utilities\dist\Utilities.jar, so under Libraries I then had JDK 1.8 and Utilities.jar.
But I got errors (cannot find symbol) on all attempts to use methods in Utilities.jar.
What should I have done?