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 Type
    Method
    Description
    void
    askUpdateJava(String updVersion, String url, String eolDate, boolean major)
    Asks user to update its version of Java.
  • Method Details

    • askUpdateJava

      void askUpdateJava(String updVersion, String url, String eolDate, boolean major)
      Asks user to update its version of Java.
      Parameters:
      updVersion - target update version
      url - download URL
      major - true for a migration towards a major version of Java (8:9), false otherwise
      eolDate - the EOL/expiration date