View RSS Feed

My Java Tips

  1. Execute An External Program From Java

    by , 11-08-2011 at 07:49 PM (My Java Tips)
    A Java programmer may need to access the environment under which the application is running. It is supported by getRuntime method in Runtime Class. Programmer need not create an instance of Runtime class, Instead the Java application has a single instance of class Runtime environment in which the application is running.

    Runtime class has several methods that are useful to execute an external program, getting Information about processors, Memory Information etc.

    ...
    Categories
    Java SE