How to Change Default Class Output and Test Output or Project Compiler Output in Intellij
Intellij Change Project Compiler Output Directory
Here is steps how to change the Project Compiler Output Directory
1. File => Project Structure
2. In Project Settings => select Project
3. You can change the directory at the bottom of "Project Compiler Output"



Intellij Change Main class output and Test output