JBIDE-18437 - Agent jar can not be found if workspace contains spaces

No. I just saw that URI was used before, so I just fixed the conversion URL -> URI to be able to handle spaces. I can use getPath() if you prefer it.