This is a major rewrite of DiskBrowser, using JavaFX and the new libraries (AppBase, AppleFileSystem and AppleFormat).
The goal is for DiskBrowser ][ to retain all the file display formats of DiskBrowser, but with a better interface and a more maintainable code base.
- Download and install the latest JDK and JavaFX binaries.
- Download DiskBrowserApp.jar.
- Create executable run file as follows:
/path/to/jdk/Contents/Home/bin/java \
--module-path /path/to/javafx-sdk/lib \
--add-modules=javafx.controls \
-jar /path/to/DiskBrowserApp.jar
On my Mac I have set up an Automator 'Run Shell Script' which looks like this:
I save that file as DiskBrowserApp.app and then drop it in my dock. Now I can run the program with a single click. You can also change the icon using the Info command on the .app file and pasting something better over the existing icon.
On linux I am told that the following will install the required dependencies:
sudo apt install default-jre openjfx
and that the following command will execute the app:
java --module-path /usr/share/openjfx/lib/ --add-modules=javafx.controls -jar "path/to/DiskBrowserApp.jar"
Thanks to xandark for that tip.
C:\path\to\jdk\bin\java.exe \
--module-path C:\path\to\javafx-sdk\lib \
--add-modules=javafx.controls \
-jar C:\path\to\DiskBrowserApp.jar
The first line in each of the above shell files can be replaced with 'java \' as it's just the command to execute java on your system. The second line must be the path to wherever you placed the javafx download.
Specify the location of your disk image files using File -> Set Apple Root Folder. Note that this must be a FOLDER, not a file. The specified folder may contain subfolders, these will all appear in the file tree within the application. You can change the location at any time via the same menu command.
