0

I could only find information of using Netbeans to package a JavaFX app into .deb, but I couldn't find any info on how to do this with IntelliJ.

I am using Gradle as the build tool.

Could you guys share some insight?

Cheng Fei
  • 37
  • 8
  • Consider using Maven, see this thread https://stackoverflow.com/questions/50590738/how-to-set-the-install-path-on-a-self-contained-app-javafx-deb-debian-package – Andrey Nov 15 '19 at 12:42
  • 1
    You may try going to Project Structure | Artifacts, add there JavaFX app, in JavaFX tab define "deb" native bundle and build artifacts with Build -> Build Artifacts. Does it work for you? – Olga Klisho Nov 15 '19 at 14:39
  • @OlgaKlisho Thanks Olga, this really helped! – Cheng Fei Nov 19 '19 at 10:51

1 Answers1

0

Just as Olga pointed out, her advice helped me:

in Project Structure | Artifacts, add there JavaFX app, in JavaFX tab define "deb" native bundle and build artifacts with Build -> Build Artifacts

Cheng Fei
  • 37
  • 8