Changeset 30765


Ignore:
Timestamp:
08/26/16 17:21:27 (4 years ago)
Author:
davidb
Message:

More forgiving test for java vendor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/Gatherer.java

    r29711 r30765  
    306306            // check that we are using Sun Java
    307307            String java_vendor = System.getProperty("java.vendor");
    308             if (!java_vendor.equals("Sun Microsystems Inc.")) {
     308            if (!java_vendor.equals("Sun Microsystems Inc.")
     309                && !java_vendor.equals("Oracle Corporation")) {
    309310                System.err.println(Dictionary.get("General.NotSunJava", java_vendor));
    310311            }
Note: See TracChangeset for help on using the changeset viewer.