Changed for jar file to getresource

successfully in eclise, not in jar