开发者

Getting system info i.e graphics card, cpu, ram etc using java

How would I get system info using java in a java applet. I nid to use this in开发者_如何学Python my gaming website to find whether the clients's system can handle the requirements of some pc games I will really appreciate the help.


I think that the most reasonable and light-weight way to do that would be to detect the underlying OS, and parse the output of some command line commands. (for example, uname and the contents of the file /proc/meminfo on Linux)


Java graphics performance for games has been shown to come down to the drivers that the card uses, on occasions, so I doubt any of this information will be of much use to discover if the game will run OK.

It would be more useful to run a test on a fixed size rendering surface and count how many FPS can be drawn.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜