IntelliJ IDEA compiling continuously

Answered

Hello, after download and installing IntelliJ IDEA I finnaly was able to start a project. I decided to go with the Hello World template, but when I try to compile it just never stop. I can let it 1 hour and it would still be loading.

I already downloaded the Java SDK, it's there something else that I must do? From all the tutorials that I watched, there's nothing else that people do in order to run an application. It just compiles fast and runs fast. But not for me.

Thank you!

You can see in this image what I mean:

9 comments
Comment actions Permalink

Try disabling the antivirus/firewall and reboot.

Check idea.log and build.log for errors: https://intellij-support.jetbrains.com/hc/articles/207241085.

Get the thread dumps of IDEA process and build server (compiler) process: https://intellij-support.jetbrains.com/hc/articles/206544899.

0
Comment actions Permalink

Hi, thank you for your response! I've uploaded the log files here: http://www.mediafire.com/download/yr75618t12zp336/log.zip 

 

I've disabled firewall and still doesn't work.

I've also updated to newer version, but the same happens

 

0
Comment actions Permalink

It looks like something is blocking the network connection between IDEA and the compiler server process. If you have any third-party antivirus/firewall, it may be needed to uninstall it and reboot.

0
Comment actions Permalink

It's strange because the firewall is disabled and I don't have any other third-party antivirus/firewall.

0
Comment actions Permalink

Maybe debug build log will have more info. Please enable debug logging for the build process per https://intellij-support.jetbrains.com/hc/articles/207241085 and provide the new logs.

0
Comment actions Permalink

build.log:  http://pastie.org/10906233

build-log.properties: http://pastie.org/10906234

 

I hope that you refer to these.

0
Comment actions Permalink

It's still info level in the .properties, must be changed to debug, please read https://intellij-support.jetbrains.com/hc/articles/207241085 carefully.

0
Comment actions Permalink

Ok, got it. Changed it to debug :)

Here it is the new build log: http://pastie.org/10906295

 

Thank you very much for your help!

0
Comment actions Permalink

Please use jstack to get a thread dump from IDEA process: https://intellij-support.jetbrains.com/hc/articles/206544899. Share the thread dump. Provide 3-5 thread dumps with 10 seconds interval, it will help to understand what IDE is doing.

0

Please sign in to leave a comment.