Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
jeffreymarcum opened this issue Dec 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@jeffreymarcum
Copy link

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 jeffreymarcum added the bug Something isn't working label Dec 12, 2024
@hadarshjfrog
Copy link
Collaborator

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants