Issue related to JRE9

117 views Asked by At

In JRE 8, most of the internal files are present in rt.jar or tools.jar, but in JRE 9 these jar files have been removed. In JRE 8 my code was using WindowsIconFactory.class which is a part of rt.jar. Can any one suggest me an alternative class so that my code can start functioning properly again ? (PS:My code used WindowsIconFactory.class to fetch the default icon for radio button)

1

There are 1 answers

6
techprat On

Try finding missing classes using find jar

if rt.jar is not available in jre9, download swing jars and use it.