Ignore:
Timestamp:
2015-10-24T15:22:02+02:00 (9 years ago)
Author:
Don-vip
Message:

fix problems seen in headless environment for jenkins

File:
1 edited

Legend:

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

    r8934 r8939  
    392392
    393393    protected void askUpdateJava(String version) {
    394         askUpdateJava(version, "https://www.java.com/download");
     394        if (!GraphicsEnvironment.isHeadless()) {
     395            askUpdateJava(version, "https://www.java.com/download");
     396        }
    395397    }
    396398
Note: See TracChangeset for help on using the changeset viewer.