Java: connectionURL points to local file system, how do I point to my project resources?
Posted on 2012-08-24
I created a derby db on my file system. I set my connection string to it. For example:
String connectionURL = "jdbc:derby:C:\\JAVA\\firstdb";
Once I compile and send my jar file for distribution, my app connection will fail because it points to my local file system... makes sense...
how do I add a derby db to my project resources?
what would the connectionURL string look like?
I appreciate your help.... in advance, thank you for your suggestions...