/java-updater-rs

A command-line program to keep a bunch of java installations up to date.

Primary LanguageRustApache License 2.0Apache-2.0

Java Updater

CI

Motivation

I have a bunch of computers (mostly Windows) with a couple of different Java versions to maintain. It is cumbersome to download all new versions on all computers, unpack und replace that Java versions.

Configuration

TBW: describe yaml

Scheduling (Linux)

TBW: cron/systemd

Scheduling (Windows)

Run as Adminstrator

schtasks /create /tn "Update Java Installations" /tr "<path/to/java-update.exe> --config <path/to/config>" /sc onlogon

Notification

Common variables

  • JU_ARCH
  • JU_INSTALLATION
  • JU_TYPE
  • JU_VENDOR_ID
  • JU_VENDOR_NAME

on-update

  • JU_NEW_VERSION
  • JU_OLD_VERSION (only set, when available)

on-failure

  • JU_ERROR
  • JU_OLD_VERSION (only set, when available)