java.lang.Runtime r = java.lang.Runtime .getRuntime() ;
System.out.println(r.totalMemory() );
System.out.println(r.freeMemory() );use these code,you can get the size of the harddiskthe information of cpu...?
i don't know too
System.out.println(r.totalMemory() );
System.out.println(r.freeMemory() );use these code,you can get the size of the harddiskthe information of cpu...?
i don't know too
你说的方法是给出内存信息,不是给的硬盘信息啊。