Changeset 47629bf for apps


Ignore:
Timestamp:
Dec 24, 2018 1:24:58 PM (18 months ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
0fdede8
Parents:
0474876
Message:

Console: Update ARM warning (ticket #2368), remove Java 11 warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/RouterConsoleRunner.java

    r0474876 r47629bf  
    344344        boolean noPack200 = (PluginStarter.pluginsEnabled(_context) || !NewsHelper.isUpdateDisabled(_context)) &&
    345345                            !FileUtil.isPack200Supported();
    346         boolean openARM = SystemVersion.isARM() && SystemVersion.isOpenJDK();
    347         boolean isJava11 = SystemVersion.isJava11();
     346        boolean openARM = SystemVersion.isARM() && SystemVersion.isOpenJDK() && !SystemVersion.isJava9();
     347        boolean isJava11 = false; // SystemVersion.isJava11();
    348348        if (noJava7 || noPack200 || openARM || isJava11) {
    349349            String s = "Java version: " + System.getProperty("java.version") +
     
    365365            }
    366366            if (openARM) {
    367                 s = "OpenJDK is not recommended for ARM. Use Oracle Java 8";
     367                s = "OpenJDK 7/8 are not recommended for ARM. Use OpenJDK 9 (or higher) or Oracle Java 8 (or higher)";
    368368                log.logAlways(net.i2p.util.Log.WARN, s);
    369369                System.out.println("Warning: " + s);
    370370            }
    371             if (isJava11) {
    372                 s = "Java 11+ support is beta, and not recommended for general use";
    373                 log.logAlways(net.i2p.util.Log.WARN, s);
    374                 System.out.println("Warning: " + s);
    375             }
     371            //if (isJava11) {
     372            //    s = "Java 11+ support is beta, and not recommended for general use";
     373            //    log.logAlways(net.i2p.util.Log.WARN, s);
     374            //    System.out.println("Warning: " + s);
     375            //}
    376376        }
    377377    }
Note: See TracChangeset for help on using the changeset viewer.