title: How do I get my java program written with NetBeans to compile with javac?
body: <p>I have two java files. They run fine in NetBeans, but I have to compile them in javac, and run them on a unix machine since I'm connecting to a database on my school's server. </p>
  
  <p>I've been searching online but everything is too specific, and I'm not too familiar with NetBeans. </p>
  
  <p>What I'm doing is copying those two java files, and a .form file to a directory on my school's server, and then try to compile the two java files using javac. However, I'm assuming that it doesn't compile because it's missing all the information from the .form file? </p>
  
  <p>I'm getting 100 errors when compiling the one of the java files, and they look something like this:</p>
  
  <blockquote>
    <p>CARTSJFrame.java:380: package org.jdesktop.layout does not exist
                           .add(jPanel9, org.jdesktop.layout.GroupLayout.PREFERRED_                    SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLay   </p>
  </blockquote>
  
  <p>My guess was that it has something to do with the .form file that I can see in my NetBeans project directory.</p>
  
  <p>I've looked at previous questions about this but still haven't been able to figure this out. Any help is appreciated.  </p>