title: converting java program to an executable on linux
body: <p>I built a java program that consists of 2 files. The one that contains the main is <code>SnortMonitor.java</code> and it uses <code>Database.java</code> to connect to the database and run a query. I migrated it from my windows machine to the linux machine where it needs to be. I am able to compile it and run it just fine on both machines. </p>
  
  <p>My ultimate goal, which is my next step, is finding a way to make this into an executable with will <strong>constantly</strong> run on this linux machine. The program is designed to scan each record of a database and send certain information to another machine, I need it to run constantly so that it is constantly sending this information to this other machine, or something like every 3-5 seconds. </p>
  
  <p>One Footnote: For some reason that is beyond my knowledge, I ended up with <code>SnortMonitor.java</code>, <code>Database.java</code>, <code>SnortMonitor.class</code> and <code>Database.class</code> once I finished compiling and running on linux, I'm not sure if this makes a difference, I'm very new to linux.</p>