-
management

Get JVM Start Time-Date
With this example we are going to demonstrate how to get the JVM Start Time-Date. We are using the RuntimeMXBean,…
Read More » -
management

Get Class Path
In this example we shall show you how to get the Class Path. We are using the RuntimeMXBean, that is…
Read More » -
management

Get JVM up time
This is an example of how to get the JVM up time. We are using the We are using the…
Read More » -
System

Get classpath Example
With this example we are going to demonstrate how to get the classpath. We are using the System class, that…
Read More » -
System

Determine Operating System with System
This is an example of how to determine the Operating System with System class. The System class, that contains several…
Read More » -
Runtime

Suggest Garbage Collection to the JVM
With this example we are going to demonstrate how to suggest Garbage Collection to the JVM. We are using the…
Read More » -
Runtime

Get number of processors with Runtime
In this example we shall show you how to get the number of processors with Runtime class. Every Java application…
Read More » -
StringBuffer

StringBuffer reverse method
This is an example of how to use the reverse method of StringBuffer. A StringBuffer is a thread-safe, mutable sequence…
Read More » -
StringBuffer

StringBuffer replace method
With this example we are going to demonstrate how to use replace method of StringBuffer. A StringBuffer is a thread-safe,…
Read More » -
String

Compare Strings
In this example we shall show you how to compare Strings. We are using the methods that the String class…
Read More »
