How would you address a scenario wherein a Java application is running slow?

Situational