title: Why am I geting a ClassNotFoundException?
body: <p>Using Ubuntu</p>
  
  <p>Here is my code:</p>
  
  <pre><code>import java.io.*;
  import java.net.*;
  import se.opendataexchange.ethernetip4j.clx.*;
  
  class PLCServer
  {
      public static void main(String argv[]) throws IOException
      {
          // IP address of the ethernet card
          String ENBTIP = "192.168.10.14";
          DataInputStream socketReader = null;
          PrintStream socketWriter = null;
          ControlLogixConnector test = new ControlLogixConnector(ENBTIP,44818);
  
          // Debugging code
          System.out.println(InetAddress.getByName(ENBTIP).isReachable(10000));
      }
  }
  </code></pre>
  
  <p>Here is how I am compiling:</p>
  
  <p><code>javac -classpath /home/nick/Java/PLC/ethernetip4j-0.2.jar PLCServer.java</code> which returns no errors</p>
  
  <p>Here is the output:</p>
  
  <pre><code>Exception in thread "main" java.lang.NoClassDefFoundError: se/opendataexchange/ethernetip4j/clx/ControlLogixConnector
      at PLCServer.main(PLCServer.java:13)
  Caused by: java.lang.ClassNotFoundException: se.opendataexchange.ethernetip4j.clx.ControlLogixConnector
      at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
      ... 1 more
  </code></pre>
  
  <p>Am I missing something here?</p>