#How can I get JPackage to display an error message if java is out of date?
1 messages ยท Page 1 of 1 (latest)
Here is an AI assisted attempt to answer your question ๐ค. Maybe it helps! In any case, a human is on the way ๐. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.
You can use the "--runtime-image" option in JPackage to specify the minimum version of Java required for your application. If the user's Java version is below this requirement, JPackage will display an error message. Simply add "--runtime-image <path_to_java_runtime_image>" to your JPackage command.
Useful links:
that's silly. I can't know the runtime image location for every user.
Jpackage package java so it can't be out of date
what was the original message?
and are you talking about a build process that you expect a user to be running?