Memory leaks are notoriously hard to debug. Java, with its built in garbage collector, handles most memory leak issues.
It’s possible to use a newer version of JDK for development but it’s not a good idea. A couple of problems can arise if our development JDK version is different from target version.
When working with large projects with a lot of modules one can easily lose track of all the external dependencies. This is where Maven comes in. Its convention over configuration approach enables you to quickly set up your project.