java.lang.IllegalArgumentException: URI is not absolute?
843790Dec 1 2009 — edited Dec 1 2009Hi everyone. Thanks in advance for helping. : )
I'm making an MMO in school and we were testing what we have so far as an applet. Problem is, my images won't show up due to the fact that apparantly my sprite URI is not absolute.
My image is located at http://xxx.xxx.xxx.xx/WebGame/gfx/sprites/picture.gif
My URI in the code reflects that. That is an absolute address, but Java doesn't think so. I've also tried:
gfx/sprites/picture.gif The relative address
http://gfx/sprites/picture.gif It was worth a try.
Any ideas?