Auto-updater and launcher for your distributed applications. Built with Java 9's module system in mind.
The update4j framework is the first auto-update and launcher framework completely compatible with Java 9 and up. Easily host your application files anywhere (even Google Drive, Dropbox, Amazon S3, or Maven Central) and you can synchronize them with all your distributed applications. You can use any protocol you wish to retrieve those files and may be protected under authenticated API.
In update4j you have ultimate control of every process, from startup - update - launch - shutdown; unlike other auto-update frameworks that yields over the control only once the business application was launched. In addition, every single piece of code is completely updatable; even the framework itself, once a new version is released!
Installation & Usage
You can download or install using Maven:
<dependency> <groupId>org.update4j</groupId> <artifactId>update4j</artifactId> <version>1.4.1</version> </dependency>
You can use it as a regular dependency, or you may run it as a runnable JAR file.
To run it in the modulepath, use either of:
$ java -p update4j-1.4.1.jar -m org.update4j $ java -p . -m org.update4j
To run it in the classpath, use either of:
$ java -jar update4j-1.4.1.jar $ java -cp * org.update4j.Bootstrap
For more information refer to Starting the Application in the wiki.
falsewill skip that file from being updated.
- Pass arguments and system properties from the config when using the
DefaultLauncheris now aware of JavaFX and will start
javafx.application.Applicationeven if missing a main method in class defined in
- Reduced system dependencies to
java.xmland added warnings if system module is not properly resolved. (breaking change in some cases).
- Added dependency injection framework to communicate between the bootstrap and service provider.
- Consequently, removed provider consumers at update and launch, and passing args at launch.
- Removed many confusing
- You can now add properties to a config dynamically at runtime.
- Locate explicit service providers even if not properly registered as required by
- Made many service methods
- Changed how
This project was highly influenced by edvin/fxlauncher. Thanks for the insights that made this possible.
This project is licensed under the Apache Software License 2.0