Issue running DevTest with passwords not encrypted

Document ID : KB000109097
Last Modified Date : 02/08/2018
Show Technical Document Details
I am facing issue while running DevTest with Ant when Value is encrypted in Project.config, below are the details:

if project.config has key "Password" and i have encrypted the value. If I use "Password" as parametarised  value in any step, and if I run in ITR / Stage the test / suite it works fine.
But when I run using Ant, the "Password" is not getting replaced with the value, and if I use "Password_enc" the encrypted value will be sent to the target which is causing issue.
Issue resolved by changing JDK jre from other installed path to Devtest JRE path in environment variable.