code: private static Properties loadProperties()
     {
        Properties properties = new Properties();
        boolean loaded = false;
  
        String sysProperty = SecurityActions.getSystemProperty("ironjacamar.options");
        if (sysProperty != null && !sysProperty.equals(""))
        {
           File file = new File(sysProperty);
           if (file.exists())
           {
              FileInputStream fis = null;
              try
              {
                 fis = new FileInputStream(file);
                 properties.load(fis);
                 loaded = true;
              }
              catch (Throwable t)
              {
                 // Ignore
              }
              finally
              {
                 if (fis != null)
                 {
                    try
                    {
                       fis.close();
                    }
                    catch (IOException ioe)
                    {
                       //No op
                    }
                 }
              }
           }
        }
  
        if (!loaded)
        {
           File file = new File(IRONJACAMAR_PROPERTIES);
           if (file.exists())
           {
              FileInputStream fis = null;
              try
              {
                 fis = new FileInputStream(file);
                 properties.load(fis);
                 loaded = true;
              }
              catch (Throwable t)
              {
                 // Ignore
              }
              finally
              {
                 if (fis != null)
                 {
                    try
                    {
                       fis.close();
                    }
                    catch (IOException ioe)
                    {
                       //No op
                    }
                 }
              }
           }
        }
  
        if (!loaded)
        {
           InputStream is = null;
           try
           {
              ClassLoader cl = Main.class.getClassLoader();
              is = cl.getResourceAsStream(IRONJACAMAR_PROPERTIES);
              properties.load(is);
              loaded = true;
           }
           catch (Throwable t)
           {
              // Ignore
           }
           finally
           {
              if (is != null)
              {
                 try
                 {
                    is.close();
                 }
                 catch (IOException ioe)
                 {
                    // Nothing to do
                 }
              }
           }
        }
  
        return properties;
     }
docs: Load configuration values specified from either a file or the classloader
  @return The properties