Hi every one
I wrott this code to detect java version but the file generated cannot open in read mode any idea 😁
SetOutPath $PLUGINSDIR
ExecWait `java -version > testjava.txt 2>&1` $0
FileOpen $0 testjava.txt r
inspect this code please
4 posts
You can't use redirection without using the command line interpreter. But that's unnecessary as well. You have many Java version related functions available.
Yes I know how to detect java by other ways but the risk is to find many JRE installed and I need to know the earliest installed edition
How will executing java.exe solve this?