Hi there. How can I help you today?
I have created a project in Netbeans. The project use database, which is part of the package....
After I completed all the codes, I cleared and built it.....and it created jar file.
When I move the jar file to desktop or any another folder....it comes with the error: java.lang.ClassNotFoundException: org.sqlite.JDBC
This is my problem...i need to somehow around...so when the user double click on jar file...it works and use the database which is part of the jar file
Hope this make sense
You would have to get the JDBC driver for sqlite and place it in the the same place as your resulting jar file. Then you would have to add it to the classpath to run your applicaiton.
If you need help doing this, let me know and I will walk you though it step by step.
(The key here is that it is making a jar of your code, but not the SQLITE code and therefore you need the SQLLITE jar in conjunction with yours)
I just want to say thank you......but I have already solved the problem.
There was more what needed to be change....as I already had sqlite jar in and driver.
The problem was, that when I built it, the path was not correct. When i put just the database....it couldn't find it....but i have fixed all.
Thank you again for your time.
Can I ask you something what is relative to the previous question?
I have build and installed jar file......it is running.....and it also working.
There is only one problem....when i click to create pdf file......it gives me message:
java.io.FileNotFoundException: name of the document.pdf ( Access is denied)
any idea how to fix this?
There is no more questions.
Sorry, but nobody actually solved my problem....could I have the money back on my account, please.