JDK 9 has changed how the Java Versions are formated. You need to parse them in an other way.
ImageUtil.processOnRegistration() is throwing a NumberFormatException, because System.getProperty("java.specification.version") returns "9" and not "1.9".
This should fix the problem. If I understand the future Oracle plans for Java correctly the next version might be 9.1, so you may want to fix this code in a more general way.
JDK 9 has changed how the Java Versions are formated. You need to parse them in an other way.
ImageUtil.processOnRegistration() is throwing a NumberFormatException, because System.getProperty("java.specification.version") returns "9" and not "1.9".
Please change
to
This should fix the problem. If I understand the future Oracle plans for Java correctly the next version might be 9.1, so you may want to fix this code in a more general way.