Get System Information of a Remote Machine (Using

2019-01-28 20:44发布

As the question's title says, I want to get the system information (like OS name, version, etc.) of a remote system using Java. But before anyone answers this question, I just want to ask whether this is possible, if yes, then how?

One more catch is that this should work for both Unix-based and Windows-based systems. I tried searching the Internet, but drew a blank (almost).

EDIT: The Java app will be a desktop app, and it will have to credentials to be able to log onto the remote system, but there will be no HTTP/RMI that'll be used.

7条回答
一纸荒年 Trace。
2楼-- · 2019-01-28 21:50

You need to clarify what you mean by "remote system" in this case - as in how are you communicating with it> Are we talking some form of HTTP? RMI? Applet running in a browser?

Generally, however, the answer is "No, it's not possible".

查看更多
登录 后发表回答