title: Jar file does not find sqlite data base path
body: <p>I'm working on javaFx project ,I have a problem that when i run my project in netbeans every thing is well but when i run my jar file by using cmd i find this error :<a href="https://i.stack.imgur.com/5JxMw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5JxMw.png" alt="enter image description here"></a></p>
  
  <p>This my part of code to connect to database :</p>
  
  <pre><code>package Connection;
  
  import java.sql.*;
  import org.sqlite.SQLiteConfig;
  
  /**
   *
   * @author Ala_Eddine
   */
  public class Dbaconnection {
  
      private static Connection connection;
  
      public Dbaconnection() {
          try {
              Class.forName("org.sqlite.JDBC");
              SQLiteConfig config = new SQLiteConfig();
              config.enforceForeignKeys(true);
              connection = DriverManager.getConnection("jdbc:sqlite:src/DataBase/Beans/sqllite/Model/Data.db",config.toProperties());
              System.out.println("Connection accepted" + connection);
  
          } catch (Exception e) {
              e.printStackTrace();
          }
      }
  
      public static Connection getConnection() throws SQLException {
          if (connection == null) {
              Dbaconnection dbaconnection = new Dbaconnection();
          }
          return connection;
      }
  
      public static void main(String[] args) throws SQLException {
  
          getConnection();
  
      }
  
  }
  </code></pre>
  
  <p>And this is a location of database file :</p>
  
  <p><a href="https://i.stack.imgur.com/jJig8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jJig8.png" alt="enter image description here"></a></p>