Changeset 8680


Ignore:
Timestamp:
2004-11-26T10:01:43+13:00 (19 years ago)
Author:
kjdon
Message:

do a check when the Gatherer starts up and warn the user if they are not using Sun Java

File:
1 edited

Legend:

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

    r8629 r8680  
    113113    this.self = this;
    114114
    115     Utility.initImages(this);
     115    Utility.initImages(this); 
    116116    }
    117117
     
    177177        // Read Dictionary
    178178        new Dictionary(Configuration.getLocale("general.locale", true), Configuration.getFont("general.font", true));
     179
     180        // check that we are using Sun Java
     181        String java_vendor = System.getProperty("java.vendor");
     182        if (!java_vendor.equals("Sun Microsystems Inc.")) {
     183        // is this the definitive string??
     184        System.err.println(Dictionary.get("General.NotSunJava", java_vendor));
     185        }
    179186
    180187        if (gsdl_path == null) {
Note: See TracChangeset for help on using the changeset viewer.