added a hack to be able to work with jars not run through setup.
moved to here stuff from org.sikuli.ide.util