Ignore:
Timestamp:
2015-10-21T10:27:13+02:00 (11 years ago)
Author:
Don-vip
Message:

see #11390 - invite Windows and OSX users to update to Java 8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/PlatformHookWindows.java

    r8846 r8923  
    6161  */
    6262public class PlatformHookWindows extends PlatformHookUnixoid implements PlatformHook {
     63
     64    @Override
     65    public void startupHook() {
     66        // Invite users to install Java 8 if they are still with Java 7
     67        String version = System.getProperty("java.version");
     68        if (version != null && version.startsWith("1.7")) {
     69            askUpdateJava(version);
     70        }
     71    }
    6372
    6473    private static final byte[] INSECURE_PUBLIC_KEY = new byte[] {
Note: See TracChangeset for help on using the changeset viewer.