diff --git a/bucket/jdtls.json b/bucket/jdtls.json index 7638d5199c..e35493499b 100644 --- a/bucket/jdtls.json +++ b/bucket/jdtls.json @@ -10,7 +10,7 @@ "url": "https://download.eclipse.org/jdtls/snapshots/jdt-language-server-1.34.0-202403200828.tar.gz", "hash": "11467f999b38eda6f3f6fe0a9dfdd7bd5daf4b98e5dfe983237176c0f8018db5", "installer": { - "script": "shim (search_in_path python.exe) $global jdtls \"$dir\\bin\\jdtls\"" + "script": "shim (Get-Command 'python.exe').Source $global jdtls \"$dir\\bin\\jdtls\"" }, "uninstaller": { "script": "rm_shim jdtls (shimdir $global) jdtls"