dcsimg
RAM size through Java
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ravikanth_Tadikonda
Posted On:   Monday, August 19, 2002 10:14 PM


Is there a way of knowing the RAM on a windows machine using Java.
I have tried accessing the registry, the entry in the registry is encoded.

I need this info to develop an installer.

Thank You
Ravikanth

Re: RAM size through Java

Posted By:   Jorgen_Nordqvist  
Posted On:   Tuesday, August 20, 2002 04:03 PM

Runtime.totalMemory()
returns the total memory that is available to the JVM.

Jorgen

About | Sitemap | Contact