R
Rashmi
Hi,
I am trying to display the available Jdk version using
following script. If any one can try the code. I am not
able to display the version of Jdk. I am using WSH 5.6.
Script:
-------
Set objShell = CreateObject("WScript.Shell")
set objScriptExec = objShell.exec("C:\3rdparty\jdk1.3.1
\bin\java.exe -version")
strIpConfig = objScriptExec.StdOut.ReadAll
WScript.Echo strIpConfig
Thanks
Rashmi.
I am trying to display the available Jdk version using
following script. If any one can try the code. I am not
able to display the version of Jdk. I am using WSH 5.6.
Script:
-------
Set objShell = CreateObject("WScript.Shell")
set objScriptExec = objShell.exec("C:\3rdparty\jdk1.3.1
\bin\java.exe -version")
strIpConfig = objScriptExec.StdOut.ReadAll
WScript.Echo strIpConfig
Thanks
Rashmi.