I have a problem that with my automation script where it needs to get the JRE Root path for java versions. I managed to get the path for java 8 and java 11 using java -verbose -version
but i cant get anything for java 17 using the same command
Below is the Jython script that i used to configure the JRE Root Path START SHELL COMMAND "java -verbose -version | findstr /I "[Opened opened:"" WAIT RETURNSTDOUT enter image description here
It's working for java 8 and java 11 and i wanna be able to use the same script for java 17. Can anybody help me?
I tried with 'where javac' but it's not working with my Jython script