Overview

Appendix A. Tools you’ll need

This appendix gives readers a practical setup guide for the book by pointing them to the installation instructions for every tool used in the examples. Its main purpose is to make sure you can follow along with the debugging, profiling, and monitoring exercises without having to search for the required software on your own.

To work with the book’s Java projects, you need a modern development environment: an IDE such as IntelliJ IDEA, Eclipse, or Apache NetBeans, and JDK 17 or newer, with OpenJDK recommended. These are the core requirements for opening, running, and experimenting with the sample projects throughout the book.

The appendix also lists the specialized tools used for investigation tasks, including VisualVM and JProfiler for profiling and dump analysis, fastThread for examining thread dumps, Postman for calling application endpoints, and Sentry for monitoring log events. Together, these tools support the book’s hands-on approach to troubleshooting JVM applications across different kinds of runtime problems.

FAQ

What tools do I need to follow the examples in Appendix A?The appendix lists the recommended tools used throughout the book: an IDE, JDK 17 or higher, VisualVM, JProfiler, fastThread, Postman, and Sentry.
Which IDEs are recommended for opening and running the project files?The book uses IntelliJ IDEA, but Eclipse IDE and Apache NetBeans are also recommended alternatives for opening and executing the provided projects.
What Java version is required to run the book’s sample projects?You need JDK version 17 or higher to run the Java projects provided with the book.
Which JDK distribution is recommended in the appendix?The appendix recommends using the OpenJDK distribution available from the JDK 17 download page.
What tool does the book use for profiling and reading heap dumps or thread dumps?The book uses VisualVM for profiling techniques and for reading heap dumps and thread dumps.
Why does the book also mention JProfiler if VisualVM is available?VisualVM is used for many examples, but for some techniques it is not sufficient, so the book also uses JProfiler for more advanced profiling scenarios.
What is fastThread used for in the book?fastThread is used to investigate thread dumps, especially in chapter 9.
What tool is used to call endpoints during the troubleshooting examples?Postman is used throughout the book to call endpoints and demonstrate investigation techniques.
What is Sentry used for in the book?Sentry is discussed in chapter 12 for monitoring log events.
Where can I find the installation instructions for the recommended tools?Appendix A provides links to the installation instructions and download pages for all the recommended tools used in the book.