version-checker

Check for available Java version updates

License

License

GroupId

GroupId

uk.co.wansdykehouse
ArtifactId

ArtifactId

version-checker
Last Version

Last Version

0.2
Release Date

Release Date

Type

Type

jar
Description

Description

version-checker
Check for available Java version updates
Project URL

Project URL

https://github.com/richmidwinter/java-version-checker
Source Code Management

Source Code Management

https://github.com/richmidwinter/java-version-checker

Download version-checker

How to add to project

<!-- https://jarcasting.com/artifacts/uk.co.wansdykehouse/version-checker/ -->
<dependency>
    <groupId>uk.co.wansdykehouse</groupId>
    <artifactId>version-checker</artifactId>
    <version>0.2</version>
</dependency>
// https://jarcasting.com/artifacts/uk.co.wansdykehouse/version-checker/
implementation 'uk.co.wansdykehouse:version-checker:0.2'
// https://jarcasting.com/artifacts/uk.co.wansdykehouse/version-checker/
implementation ("uk.co.wansdykehouse:version-checker:0.2")
'uk.co.wansdykehouse:version-checker:jar:0.2'
<dependency org="uk.co.wansdykehouse" name="version-checker" rev="0.2">
  <artifact name="version-checker" type="jar" />
</dependency>
@Grapes(
@Grab(group='uk.co.wansdykehouse', module='version-checker', version='0.2')
)
libraryDependencies += "uk.co.wansdykehouse" % "version-checker" % "0.2"
[uk.co.wansdykehouse/version-checker "0.2"]

Dependencies

test (1)

Group / Artifact Type Version
junit : junit jar 4.11

Project Modules

There are no modules declared in this project.

java-version-checker

Summary

Checks a java version against the latest available, online or cacched, and returns a boolean indicating if an upgrade is available with a list of messages that include such details as the newest available version. Checks against major and minor version numbers.

Use

JavaVersion.check(javaVersion)
    .getMessages()
    .forEach(System.out::println);

You can run the jar as a main class and it will check the JVM it runs in.

Maven

<dependency>
  <groupId>uk.co.wansdykehouse</groupId>
  <artifactId>java-version-checker</artifactId>
  <version>0.5</version>
</dependency>

Versions

Version
0.2