Index: /applications/editors/josm/plugins/geotools/src/org/openstreetmap/josm/plugins/geotools/GeoToolsPlugin.java
===================================================================
--- /applications/editors/josm/plugins/geotools/src/org/openstreetmap/josm/plugins/geotools/GeoToolsPlugin.java	(revision 28952)
+++ /applications/editors/josm/plugins/geotools/src/org/openstreetmap/josm/plugins/geotools/GeoToolsPlugin.java	(revision 28953)
@@ -24,4 +24,8 @@
 
     private void initJAI() {
+        // Disable mediaLib searching that produces unwanted errors
+        // See http://www.java.net/node/666373
+        System.setProperty("com.sun.media.jai.disableMediaLib", "true");
+                
         // 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"):
