Fixed bug with jar path detection