I\'ve written an application in java and I want to add a feature to report the uptime of the application. Is there a Class/method in the JVM that can do this?
Should
The solution I know is to use System.currentTimeMillis() as it's described here and here. There also was similar question
System.currentTimeMillis()