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