阅读背景:

以编程方式确定我的盒子上安装了哪些JDK / JRE

来源:互联网 

Is there a standard way to do this? I realize this can be somewhat platform dependent. Our product right now is only supported on Windows - so I suppose that's what I'm interested in right now. The only things I can think of are to either scan the registry or crawl the file system. Scanning the file system seems like it can take a really long time - and the registry can be unreliable. Should I do both? Any other suggestions? I tried to look for an API to do this with no luck.Is there a standard way to do this? I realize t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: