Changeset 13695 in josm


Ignore:
Timestamp:
2018-05-01T18:47:55+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15560, see #16047 - detect java 10/11 packages

File:
1 edited

Legend:

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

    r13693 r13695  
    161161        } else if (home.contains("java-9-openjdk") || home.contains("java-1.9.0-openjdk")) {
    162162            return getPackageDetails("openjdk-9-jre", "java-1_9_0-openjdk", "java-1.9.0-openjdk", "java-9-openjdk");
     163        } else if (home.contains("java-10-openjdk")) {
     164            return getPackageDetails("openjdk-10-jre", "java-10-openjdk");
     165        } else if (home.contains("java-11-openjdk")) {
     166            return getPackageDetails("openjdk-11-jre", "java-11-openjdk");
     167        } else if (home.contains("java-openjdk")) {
     168            return getPackageDetails("java-openjdk");
    163169        } else if (home.contains("icedtea")) {
    164170            return getPackageDetails("icedtea-bin");
Note: See TracChangeset for help on using the changeset viewer.