How to check for the latest version of java
I want to make a java-based GUI tool that checks for the latest version of java available online,and compares it to the version currently installed

I already know how to check for the version currently installed on the machine

I don't know about the part where you check for the version available online
How to check for the latest version of java
===

I want to make a java-based GUI tool that checks for the latest version of java available online,and compares it to the version currently installed

I already know how to check for the version currently installed on the machine

I don't know about the part where you check for the version available online