sateesh
sateesh

Reputation: 615

Capability name ' java_home' is not valid

I am trying to configuring the local agent in my local pc, at that time I got the below error.

Capability name ' java_home' is not valid. Capability names must be less than 256 characters in length and may not start or end with whitespace characters

.

In the below I am posting the screenshot what the error I got when I am configuring the VSTSAgent in my PC

enter image description here

Can you please suggest me how to resolve the above issue.

Upvotes: 2

Views: 527

Answers (1)

Daniel Mann
Daniel Mann

Reputation: 59037

The error message is telling you exactly what the problem is and how to fix it.

Your java_home environment variable has a leading space character. Fix that.

Upvotes: 1

Related Questions