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.
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
Jun 08 '20
[removed] — view removed comment
1
u/hacklinux Jun 08 '20 edited Jun 16 '20
It is not a separate package. If you install OpenJDk, you should have it.
Edit: javapackager has been rename to jpackage. I am sorry I had wrong information.
1
u/Holothuroid Jun 05 '20
The jar should work. Open it from command line instead of double click to see errors.
1
u/Anu-Leena Jun 05 '20
Did you first add artifacts through the project structure?