To obtain properties of system on which your program is running:
import java.util.Map;
class ShowProperties {
public static void main(String[] args) {
for (Map.Entry
You can use following to get the underlying OS nameSystem.getProperty("os.name")
No comments:
Post a Comment