expand path to jar.