Compiling Java Code Efficiently: Best Practices and Tools