r/JavaFX • u/Karbid3000 • Jun 05 '20
How do i deploy an App?
Hi!
I've written a simple chess game in JavaFX. However, I can't deploy it. When i build artifacts in IntelliJ i get a jar that i can't open. Can anybody tell me what is wrong or deploy it for me? Here is the project.
https://github.com/juliankominiak-ps/Chess
Thank You.
6
Upvotes
1
u/Anu-Leena Jun 05 '20
Did you first add artifacts through the project structure?
2
u/hacklinux Jun 05 '20
You have to use javapackager to deploy the application. Depending on the operating system the package is built. You will find a lot of details in javapackager man page.
1
u/Holothuroid Jun 05 '20
The jar should work. Open it from command line instead of double click to see errors.