Questions tagged [jpackage]

jpackage is a tool for packaging self-contained Java applications

The jpackage tool packages a Java application into a platform-specific package that includes all of the necessary dependencies.

jpackage:

  • Supports native packaging formats to give end users a natural installation experience. These formats include msi and exe on Windows, pkg and dmg on macOS, and deb and rpm on Linux.
  • Allows launch-time parameters to be specified at packaging time.
  • Can be invoked directly, from the command line, or programmatically, via the ToolProvider API.

JEP

234 questions
0
votes
2 answers

Connecting to local MySQL database doesnt work after creating an .exe with jLink + jPackage

Enivronment: OpenJDK 11, JavaFX 11, MySQL 8.0, Gradle 6.2.2, IntellijIDEA ,Windows 8.1 Problem: When I run my program inside the IDE it works fine and connects to the database without problems, but once I try to run the .exe built with jLink and…
-1
votes
1 answer

Child process exited with code 1 LibGDX jPackageImage task

I am using jpackage to convert my libgdx game to an executable file. I am following this tutorial to do so. The jpackageImage task works perfectly fine but when the exe is created and I run it, it doesn't run but rather gives me an error: Child…
-1
votes
1 answer

jpackage MacOS launcher works on sw mfg. iMac, but can't find main() on installed computer

This is an educational Java/Swing app (JDK 16.0.2) which I'm trying to manufacture for MacOS distribution. I'm using jpackage (jdk-16) to build the installer/launcher. Learning the Terminal/Xcode command line interface has been....interesting. When…
-1
votes
1 answer

How to change the icon in the pkg when using jpackage?

On Os X, when using the jpackage command line tool, how to setup the icon used in the pkg file? Is there an additional property which can be set?
tmmls
  • 510
  • 1
  • 4
  • 16
-1
votes
1 answer

LSOpenURLsWithRole() failed with error -10810 for an application built with jpackage

Not long ago I built my application installer with jpackage. I tested it on my development machine (macos version 10.15.2) and on another slightly older machine (macos version 10.12.6). On both machines the program ran perfectly. As since this last…
Graou
  • 138
  • 1
  • 8
-2
votes
1 answer

JPackage Wrong Version (%JAVA_HOME% set to correct directory)

Please help. I'm having issues syncing up my JDK and jpackage versions for creating standalone java programs. The JDK version and the runtime version being included with jpackage are mismatched (JDK16 programs being paired with JDK15…
Anonymous
  • 696
  • 8
  • 21
-2
votes
2 answers

Jpackage doesn't work perfectly with JDBC dependency

I've made a simple program that uses JavaFX and JDBC as dependencies, I packaged it to an installable file using jpackage, with no difficulties, but when I try to launch my program it gives me the following error : "Missing JavaFX application class…
Youssef Idraiss
  • 396
  • 5
  • 19
-4
votes
1 answer

Error: Java FX Packager: Can not build artifact - fx: deploy is not available in this JDK

I have since 3 months problems with my javafx application, the problem is that I can't build my javafx application. When I build this error occurs: Error: Java FX Packager: Can not build artifact - fx: deploy is not available in this JDK I am using…
user13886556
1 2 3
15
16