mte01
asked on
get the java version from registry (.net)
Hi,
i need to know the java versions that are installed on my machine, this returns a specific value, what i need is to check any java
value that is installed on the client's machine and use it.
following is the code:
a = Microsoft.Win32.Registry.L ocalMachin e.OpenSubK ey("Softwa re\JavaSof t\Java Runtime Environment\1.5.0_06", True)
Dim javaPath As String = a.GetValue("JavaHome")
pr.StartInfo.FileName = """" + javaPath + "\bin\java.exe"""
...
thanks in advance
i need to know the java versions that are installed on my machine, this returns a specific value, what i need is to check any java
value that is installed on the client's machine and use it.
following is the code:
a = Microsoft.Win32.Registry.L
Dim javaPath As String = a.GetValue("JavaHome")
pr.StartInfo.FileName = """" + javaPath + "\bin\java.exe"""
...
thanks in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER