getting application path from .jar