Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 4.08 KB

README_v1.md

File metadata and controls

61 lines (44 loc) · 4.08 KB

AdoptOpenJDK Update Watcher

Automatic update tool for AdoptOpenJDK releases Update Dialog Config Dialog

When this app launches, it gets version from 'release' file in your local installation of OpenJDK. Then it queries AdoptOpenJDK API to check if there is a version newer than yours. If there is, you will be notified. Otherwise app quits without showing any windows or alerts.

Configuration window will appear only on first run or if something goes wrong or you have explicitly called it by the corresponding shortcut.

This app is best designed to run on Windows startup. I recommend to turn on Check for AdoptOpenJDK updates on Logon setting in configuration. If you want another schedule, turn this on and press Edit task to configure it as desired.

Requirements

Ironically, this tool is written in C# + WPF, because I am not a Java developer xD

  • Windows 10 (earlier versions are likely to work as well, but I did not test that)
  • .NET Framework 4.7.2 (the installer will do it for you)

Download

Latest release

There's a built-in update mechanism.

Installation & configuration

  • Run the downloaded installer
  • Run the app (make sure you are connected to the internet)
  • Set the location where the app will be looking for JDK/JRE. This may be JAVA_HOME environment variable (queried at the time of check for an update) or a pre-defined directory
  • Set Release, JVM Implementation and JVM Image type. If not sure, read provided hints or use default values.
  • It is recommended to turn on Check for AdoptOpenJDK updates on Logon. (If you want another schedule, turn this on and press Edit task to configure it as desired). First Run
  • If you don't have JDK/JRE installed, click on Open 'new version available' dialog and the app will download and install it for you.
    • I recommend turning on JAVA_HOME feature during setup.

Philosophy

  • This app is silent during backround checks. If there is a problem connecting to the internet or AdoptOpenJDK API does not respond, it will be silent. There's nothing more annoyuing than suddenly rising error messages from nowhere.
  • However, it will not be silent in UI.
  • There are some Easter Eggs in UI.
  • I'm not going to actively develop this app, it's mostly 'fire-and-forget' thing. However, some functionality may be added in future, there's a built-in update mechanism.

Disclaimer

The author does not provide any support related to AdoptOpenJDK or OpenJDK. For support, please visit their corresponding websites.

The author is not affiliated with or endorsed by AdoptOpenJDK or OpenJDK projects. 'AdoptOpenJDK' part of the name is used on fair use conditions, as this app works with AdoptOpenJDK releases.

THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

License: MIT

Codestyle

Please don't judge my coding style by this project, as I developed this app in less than a working day. It just works :)

Known not-a-bugs

  • JAVA_HOME value is updated when the app is launched. If you changed its value while running configuration screen, the value will not be updated in the app. However, you can close the configuration window safely: when the next backround check occurs, actual value of JAVA_HOME at that time will be used
  • If the configuration app continiously reminds you to turn on scheduled task, this happens because you have not specified your local installation of JDK/JRE and Release, JVM Implementation and JVM Image to watch for. Once you set these, the app will consider itself as 'configured' and will remember your choice.