Package org.openstreetmap.josm.tools
Interface PlatformHook.JavaExpirationCallback
- Enclosing interface:
- PlatformHook
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Called when an outdated version of Java is detected at startup.
- Since:
- 12270
-
Method Summary
Modifier and TypeMethodDescriptionvoidaskUpdateJava(String updVersion, String url, String eolDate, boolean major) Asks user to update its version of Java.
-
Method Details
-
askUpdateJava
Asks user to update its version of Java.- Parameters:
updVersion- target update versionurl- download URLmajor- true for a migration towards a major version of Java (8:9), false otherwiseeolDate- the EOL/expiration date
-