Inaki
Inaki

Reputation: 21

Create .jar of an eclipse project that uses Sqlite DB

I am having problems creating the .jar for my project. I am able to create the .jar file but then it doesn't run, it doesn't crashes neither, it just doesn't work and I have no idea why.

Since I don't know very much about .jars, here I list some of the suspicious things that may be the problem:

OK, so that's all. I don't know if one of this things may be the reason or if there are any other suggestions.

Upvotes: 2

Views: 1702

Answers (2)

attin83
attin83

Reputation: 113

It's maybe late for this question but what I will say can help others.

When you are exporting your project, try to export with ohters library. I imagine that you must have the sqlite driver in your project so you should export with all libraries.

At the exporting choice it's better to select runnable jar files.

Upvotes: 1

ditkin
ditkin

Reputation: 7054

Try running the jar file on your desktop with:

java -jar yourjarfilename.jar

Upvotes: 0

Related Questions