jfrog-idea-plugin icon indicating copy to clipboard operation
jfrog-idea-plugin copied to clipboard

Xray Scan failed: IOException: 'C:\Program Files ' is not recognized as an internal or external command

Open jeffreymarcum opened this issue 1 year ago • 1 comments

Installation: JFrog Extension V. 2.7.1, Windows 11

Steps to reproduce the behavior: Installed the extension and attempted to run against Gradle project. Received the following error message:

Xray Scan failed: IOException: 'C:\Program Files ' is not recognized as an internal or external command...

Path to Gradle set in Environment Variables: C:Program Files (x86)\Gradle8.6\bin

Xray version 3.69.3 Artifactory version 7.71.22

jeffreymarcum avatar Dec 12 '24 14:12 jeffreymarcum

Hi @jeffreymarcum - Thanks for reporting. It looks like the issue is with the installation path with the missing "" - could you try re-setting the gradle to "C:\Program Files (x86)\Gradle8.6\bin"? Also - we generally suggest installing the JFrog CLI - and run jf audit on the folder you wish to check - in order to isolate the issue - whether it's a project, scan, or product problem.

hadarshjfrog avatar Dec 15 '24 07:12 hadarshjfrog