samedi 26 septembre 2015

Create native app or executable jar from javafx project with external libraries and resources

I've been trying to create a executable jar, but i always have the Class not found exception about jdbc sqlite driver. It is in a folder called lib in my project. There's a database file (.db) as well. When i try to execute the jar file or the native exe aplication, it doesn't find the sqlite driver and the database file. The same with some pictures i have in the resources folder. The native exe app was not able to run because "it was not found MainApp". I need some help, i'm starting on javafx. Can you please tell me what am i supposed to do on build.xml or build.fxbuild to get this fine? I've tried exporting jar app normally and then put in a folder with my lib and res folders, but i didn't want it in that way. Sorry for my poor english, I'm a spanish speaker.

Aucun commentaire:

Enregistrer un commentaire