Questions tagged [javafx-gradle-plugin]

Questions about the JavaFX-Gradle-Plugin that makes javafx-packager accessible from Gradle.

https://github.com/FibreFoX/javafx-gradle-plugin

Using javafx-gradle-plugin enhances your build-script with javapackager-power. No more using Apache Ant-calls, because this gradle-plugin wraps all calls and introduces workarounds and fixes for not-yet-fixed JDK-bugs. This gradle-plugin is a convenient-wrapper for the javapackger, so you have to visit the official documentation to know about the requirements on each operating-system.

10 questions
15
votes
1 answer

Can I add more start menu items to my program with JavaFX?

I'm using the JavaFX Gradle plugin to build my JavaFX application. Is it possible to add more than one start menu item to the finished installer?
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
11
votes
4 answers

How to set application installer icon in JavaFX?

I'm using the JavaFX-Gradle-plugin to build the distribute-able binaries and the installer of a JavaFX application. When my application runs, I'm able to set the icon this way: stage.getIcons().add(new…
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
9
votes
1 answer

Can I have more than one executable file with JavaFX native building tool?

I'm using the JavaFX Gradle plugin to build my JavaFX application. Is it possible to have more than one executable built with different main classes? If so, how?
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
2
votes
1 answer

I'm using javafx-gradle-plugin and my build fails with with "Couldn't find Ant-JavaFX-library". How do I specify the JavaFX location?

I do have openjfx installed (via dnf), and I believe the jar it's looking for is the one installed at the following path: /usr/lib/jvm/openjfx/lib/ant-javafx.jar Obviously I'd like to avoid hard-coding jar paths like that, but I haven't even found…
Travis Well
  • 947
  • 10
  • 32
2
votes
1 answer

Java screensaver loading the wrong main class, any ideas?

I'm building a Windows screensaver using Java, JavaFX, the JavaFX Packager, the Gradle JavaFX Packager plugin, etc. I generate various executable files with this configuration: jfx { mainClass = "tech.project.project.ConfiguratorApp" vendor…
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
2
votes
1 answer

How do I change the extension of a launcher using JavaFX?

I'm building a JavaFX application and using the JavaFX packaging tools by means of the JavaFX-Gradle-plugin. I'm generating various launchers with this configuration: jfx { mainClass = "tech.dashman.dashman.ConfiguratorApp" vendor =…
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
1
vote
1 answer

How do I sign an MSI using javafxpackager?

I'm actually using javafxpackager through the JavaFX-Gradle-Plugin, but I can't figure out the solution in plain javafxpackager, so, that would help as well. How do I sign an MSI using javafxpackager? How do I specify the cert/key/whatever is…
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
0
votes
1 answer

Adding extension libraries to wix when using the JavaFX packager?

I'm using the JavaFX packager through the JavaFX-Gradle-Plugin and I need to add a couple of Wix extension libraries to be able to run my app after install. How do I achieve that? According to the Wix documentation, by adding -ext WixUIExtension…
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
0
votes
1 answer

What's the expected format of identifier in the JavaFX Gradle plugin?

In the JavaFX-Gradle-Plugin there's an option called identifier: // gradle jfxNative identifier = null // String - setting this for windows-bundlers makes it possible to generate upgradeable installers (using same GUID) and I can't find the…
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
0
votes
2 answers

Native package of JavaFX 8 app with with javafx-maven-plugin on 32-bit Windows fails to load due to MSVCR100.dll missing

I am packaging my app into exe with javafx-maven-plugin. x64 version works well. But then I package x86 version on 32-bit Windows 7 (running in VirtualBox if that's important) with 32-bit JDK 1.8.0_161 and 32-bit Maven. The resulting application…
graynk
  • 131
  • 1
  • 2
  • 17