Adam Carroll

Results 14 issues of Adam Carroll

I've replaced my old article [Using the Java Packager with JDK 11](https://medium.com/@adam_carroll/java-packager-with-jdk11-31b3d620f4a8) with my new version [Installable Java Apps with jpackage](https://vocabhunter.github.io/2021/07/10/installable-java-apps-with-jpackage.html). The old version was based on using a pre-release...

For JDK 11, it has been necessary to disable SpotBugs for the GUI module because of false positives relating to null checks. The errors are: * RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE: Redundant nullcheck of...

Build Process
JDK 11

Once the Santulator installer has been run, double clicking on a `.santa` session file opens Santulator. This works on all three supported platforms. Unfortunately, on the Mac, Santulator starts with...

Mac
Installable Bundle

The `.deb` installation bundle for Linux should include an icon for the file association. After installing from the `.deb` bundle the file association itself works perfectly: you can double-click a...

Linux
Installable Bundle

Santulator has a dialogue that helpfully warns users of an attempt to exit with unsaved changes. You can see an example of it correctly working here: ![confirmationdialogue](https://user-images.githubusercontent.com/15148135/48511294-9934b580-e856-11e8-98aa-c30ceef4674a.png) Unfortunately, if either...

Cross Platform

After installing VocabHunter from the installable bundle [created with _jpackage_](https://github.com/VocabHunter/VocabHunter/blob/master/package/PACKAGING.md), double-clicking a `.wordy` file opens VocabHunter. On Windows and Linux, this opens the saved session. However, on the Mac although...

Mac

The workaround to stop Checkstyle from producing exceesive logging (VocabHunter/VocabHunter#11) fails under Gradle 7. As a temporary measure, I've commented it out: https://github.com/VocabHunter/VocabHunter/blob/749432eb0fc7c28a65ff9ce20bf3ecf946247781/build.gradle#L65-L68

Build Process
JDK-16

Running the `installDist` Gradle task should produce a directory containing a binary that can be run from the command line. However, the bundle appears to be missing the JavaFX dependencies:...

If I change the JavaFX version in JavaFX plugin from v13.0.2 to v15.0.1, the headless GUI test fails: ``` $ ./gradlew :gui:test --tests io.github.vocabhunter.gui.main.GuiTest --info ... INFO STEP 9: Begin...

Cross Platform

Building the `.deb` file on Linux results in a warning about a missing licence: ``` $ ./gradlew jfxNative Starting a Gradle Daemon (subsequent builds will be faster) > Task :package:jfxNative...

Linux
Build Process