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.
I'm running Windows 8 on an Intel i7.
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.
Bang.. I was going to suggest the same. Always prefer to exclude the build directory from your anti-virus scan. Had the same issue for quite some time with McAfee installed on my system... but eventually realized that it was scanning for new files which were created post build process.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With