diff --git a/geotools/src/org/openstreetmap/josm/plugins/geotools/GeoToolsPlugin.java b/geotools/src/org/openstreetmap/josm/plugins/geotools/GeoToolsPlugin.java
index 000756d..e714627 100644
--- a/geotools/src/org/openstreetmap/josm/plugins/geotools/GeoToolsPlugin.java
+++ b/geotools/src/org/openstreetmap/josm/plugins/geotools/GeoToolsPlugin.java
@@ -11,6 +11,7 @@ import javax.imageio.spi.IIOServiceProvider;
 import javax.media.jai.JAI;
 import javax.media.jai.OperationRegistry;
 
+import org.geotools.image.ImageWorker;
 import org.geotools.referencing.CRS;
 import org.opengis.referencing.FactoryException;
 import org.opengis.referencing.NoSuchAuthorityCodeException;
@@ -41,6 +42,11 @@ public class GeoToolsPlugin extends Plugin {
         // See https://www.java.net/node/666373
         System.setProperty("com.sun.media.jai.disableMediaLib", "true");
 
+        // As JAI-Ext will replace the operation registry, it needs to be loaded before we modify it later on
+        if (ImageWorker.isJaiExtEnabled()) {
+            Logging.debug("geotools: load JAI-Ext operations");
+        }
+
         // As the JAI jars are bundled in the geotools plugin, JAI initialization does not work,
         // so we need to perform the tasks described here ("Initialization and automatic loading of registry objects"):
         // http://docs.oracle.com/cd/E17802_01/products/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/OperationRegistry.html
