Fixed core location detection now using user.dir