A desktop app for browsing parish book scans distributed in ZIP files.
- Download an installer (26 MB)
- Install the image browser
- Download a sample scanned parish book: 150-02792.zip (110 MB)
- Locate downloaded file in the File Explorer, right-click the zip file and choose the
Open with JetBrowser
menu item
- Use
<-
/->
arrows keys to move to the previous/next image - Use
Shift
/Ctrl
modifiers together with arrow keys to increase the step to 10/20 - Use
Home
/End
keys to move to the first/last image - Use
H
/W
keys to scale the image to fit the height / width of the window - Use
Ctrl +
/Ctrl -
to increase / decrease the image size - Use
R
key to reset the size to the original image size - Use
C
key to copy the current image filename to the clipboard - Use
S
key to save the current image to a selected location
This app doesn't require JDK on target machine because custom JDK is already bundled.
- Create a custom JDK runtime:
mvn clean javajx:jlink
- Create a bundle (JDK16+):
jpackage --name jet-browser --icon icon.ico --module in.drifted.tools.jetbrowser/in.drifted.tools.jetbrowser.App --runtime-image target/jet-browser --type app-image
- Create an installer using NSIS: In the Compiler section choose Compile NSI script and then load
installer\installer.nsi
script
This app doesn't require JDK on target machine as all Java code is compiled into native code. It requires more complex setup. Additionally, the final app can't be run on all machines because of failures when loading some system libraries. For other platforms please check https://docs.gluonhq.com/#_platforms
- Install Visual Studio 2019 with mandatory components
- Download and unpack the latest version of the Gluon built version of GraalVM 21
- Set
GRAALVM_HOME
to GraalVM installation folder, e.g.C:\graalvm-svm-windows-gluon-21.2.0-dev
- Disable all Java references (by adding a path prefix) from the global
PATH
variable - Open
x64 Native Tools Command Prompt for VS 2019
console app - Clear the
PATH
variable and optionally set the path to Maven bin folderSET PATH=C:\maven\bin
- Set the MS specific vars
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat
- Set the proper
JAVA_HOME
variableSET JAVA_HOME=%GRAALVM_HOME%
- Change the current directory to the project folder (e.g.
cd C:\jet-browser-javafx
) - Execute the maven goal
mvn gluonfx:build
- Verify the output stored in
target\client\x86_64-windows\jet-browser.exe
- Open
jet-browser.exe
in the Resource Hacker - Press
Ctrl+M
to Add binary resource, navigate to the\icon.ico
and then click Add Resource - Expand the Version Info node
- In the script on the right update FileDescription and ProductName values together with all version instances
- Press
F5
to compile the script - Press
Ctrl+S
to save your changes
- Copy and rename
target\client\x86_64-windows\jet-browser.exe
toinstaller\JetBrowser.exe
- Open NSIS app, in the Compiler section choose Compile NSI script and then load
installer\installer-native.nsi
script