you should be able to do System.getProperty("catalina.home")