For some reason IntelliJ seems to be having an issue where it takes minutes to compile a simple Java program. Here is a picture of it taking 1 minute and 54 seconds to compile the most basic "Hello World" program:

That was taken compiling using java 8. I tried again using java 7 and here's a screen shot of that attempt:

It took 3 minutes 42 seconds. This is not only happening the very first time; it is happening every time I compile, even the second or third time compiling it. If I was to compile it by clicking "Make Project" then click "run" it would remake the project, taking another 2minutes just to run it... This is becoming a serious issue and any help is greatly appreciated.

Edit:

I'm running Windows 8 on an Intel i7.

SOLVED:

For anyone else having this problem... Check if you have MalwareBytes: Anti-Exploit installed. For me it severely impacted the performance of any of the IDE's I tried to code Java in, and was the ultimate cause of this issue. :)

Thanks, Sean.