This content has been marked as final. Show 2 replies
I have been receiving these errors too when running certain java class files through Terminal. I am using java 7 update 5 for Mac OSX.
This shows some other people with the same problem:
Edited by: 947845 on Jul 20, 2012 4:27 PM
Maybe I can narrow down the search for causes.
My Java application produces the exact same error message only when I execute those lines:
final java.net.URL url = ProjectVanNimwegenBacteria.class.getResource("gui/media/IconMotherMachine64.png");
final Toolkit kit = Toolkit.getDefaultToolkit();
final Image img = kit.createImage(url);
If I take them out they vanish.
Hope that helps,