Ignore:
Timestamp:
2012-11-18T22:10:14+01:00 (12 years ago)
Author:
donvip
Message:

[josm_geotools] Fix JAI initialization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/geotools/src/org/openstreetmap/josm/plugins/geotools/GeoToolsPlugin.java

    r28950 r28953  
    2424
    2525    private void initJAI() {
     26        // Disable mediaLib searching that produces unwanted errors
     27        // See http://www.java.net/node/666373
     28        System.setProperty("com.sun.media.jai.disableMediaLib", "true");
     29               
    2630        // As the JAI jars are bundled in the geotools plugin, JAI initialization does not work,
    2731        // so we need to perform the tasks described here ("Initialization and automatic loading of registry objects"):
Note: See TracChangeset for help on using the changeset viewer.