title: JavaFX8, SQLite(Embedded) exe, exec jar can't read/update the runtime database
body: <p>I am creating a simple desktop application using JavaFx8 and SQLite and Eclipse Neon IDE. The Application works fine when launched to test from Eclipse. But If I create an executable jar or a Windows Exe file, it doesn't read/update the database.
  Here's the code snippet used for creating and reading database.</p>
  
  <pre><code> private Connection loadPropertiesFileSQLite() throws SQLException, ClassNotFoundException {
      try {
          inputStream = new FileInputStream("databasesqlite.properties");
          properties.load(inputStream);
          Class.forName("org.sqlite.JDBC");
          // database path, if it's new database, it will be created in the project folder
          conSQLite = DriverManager.getConnection("jdbc:sqlite:Application.db");
          System.out.println("Database Opened Successfully.");
      } catch (Exception e) {
          System.out.println("DDDD");
          e.printStackTrace();
      }
      return conSQLite;
  }
  </code></pre>
  
  <p>The connectors and jars I'm using are these:</p>
  
  <p><a href="https://i.stack.imgur.com/Ty15B.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ty15B.png" alt="enter image description here"></a></p>
  
  <p>The database is created in embedded mode when the user runs the application for the first time.
  I have searched and tried scores of combinations from changing the location of database in <code>DriverManager.getConnection("jdbc:sqlite:Application.db");</code>
  to many other things. Is there anything big that I'm missing here?</p>