Changeset 30765

Show
Ignore:
Timestamp:
26.08.2016 17:21:27 (3 years ago)
Author:
davidb
Message:

More forgiving test for java vendor

Files:
1 modified

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            }