Jar file does not execute with DB connection
问题 I'm building a project with Derby DB It works just fine when I run it in Netbeans and also as jar file when I use DB as Network Client with derbyclient.jar . But the problem is I have to distribute it so I use Embedded mode of Derby DB , As I provide derby.jar . And followed the instructions Provided Here. The only deference between Embedded & Network is we have to use this DB path (short DB name path) dbPath = "jdbc:derby:Mail_Client_Ref_Fiverr"; Instead of (full with localhost and port)