r/JavaFX • u/sijmen_v_b • Jul 03 '20
deploying my javafx project (java with ant)
i made a very specific dawing application in javafx for a school project i used javafx 11.0.2 and the netbeans ide.
my application works just fine in the ide but now i want to send it to a bunch of my friends. but i only got it to a .jar file you have to launch from the command line with a path to my javafx lib folder. and this is not something i should expect my friends to know how to do.
i want to get my program to an executable file/installer so my friends can run it on their computer (preferably also on mac).
i have spend two day's on getting that to work and have made no progress, and the university was no help either. can someone help me "deploy" my project or point me in the right direction i could really use the help.
thanks in advance
1
u/rivci Jul 14 '20
Include your javafx lib to your project and build. You will got an executable .jar file and lib folder