![]() It took all day to research how and to create it, but I built an Install Class to verify and/or install the database. I'm open to any suggestion or pointer in the right direction.īased upon your comments, you may or may not approve of this approach, but here is what I have done and provided the code below. So I'm not sure what is different about Intellij. I did something similar but smaller than this in NetBeans with a DB and had no issue, but the DB was outside the JAR and had to be within the same folder. I've never, ever, created an installer in my short coding career, but I don't know if that is what needs to happen and edit the SQLConn (above code) in my application code. I reached out to Intellij Community support then eventually was asked to enter a ticket, and they found the jar works but the database is the issue causing it not to launch. I've been on a number of sites each with similar steps using Intellij (see attached image). ![]() So I moved it where it was previously, back within the src folder. What I thought I could do was create a "sqlite" folder under the src folder and Intellij would embed (literally) the DB within the JAR. I cannot get the Jar to run because it cannot access the DB. Private static final String SQLConn = "jdbc:sqlite./src/research.db" So I was hoping someone would have a suggestion or solution. I'm ready to hand it out for some friendly user testing but Intellij won't handle the embedded SQLite db. I'm really struggling to with my Intellij jar (executable).
0 Comments
Leave a Reply. |