Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Can I use System.Version to check java version?

$
0
0

I want to check the installed java version to make sure it meets minimum requirements. 

I'm reading it from the registry keys:
HKLM\\SOFTWARE\\JavaSoft\\Java Runtime Environment\\Java7FamilyVersion. 

A sample value is 1.7.0_25. I'm curious if System.Version and related CompareTo() supports this, or if there is any alternative if it doesn't.




Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>