Java中的系统配置 [英] system congiguration in java

查看:86
本文介绍了Java中的系统配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在用Java开发一个应用程序,该程序需要系统配置,即我想收集有关我的计算机的所有信息,例如OS,ram等.哪种工具对我更合适.使用netbeans 7.0时,是否Java程序允许我们执行此操作..因为Windows 7在c/c ++中...我可以在我的Java代码中实现c/c ++吗?

plz help

i am developing an application in java ,,, which required system configuration ,, i.e i want to collect all information regarding my computer ,,, such as OS, ram , etc.. which tool is better for me .. i m using netbeans 7.0 ,,, does java program allow us to do this.. because windows 7 is in c/c++ ... can i implement c/c++ in my java code?

plz help

推荐答案

您不能用Java编写C ++.那就像去法国,希望说中文并被理解.如果您的代码仅在Windows上运行,那么为什么要使用Java而不是C#?如果它不仅要在Windows上运行,那么您就会遇到问题,因为不同的计算机将具有不同的机制来执行此操作.

我在Google上搜索,发现有人问这个问题,但是没有看到任何答案.我怀疑你能做到.
You can''t write C++ in Java. That would be like going to France, and hoping to speak Chinese and be understood. If your code is only going to run on Windows, then why are you using Java and not C# ? If it''s not only going to run on Windows then you have an issue, because different computers will have different mechanisms to do this.

I googled and found people asking this, but didn''t see any answers. I doubt you can do it.


这篇关于Java中的系统配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆