I have solve it.

We have to add to the exclusion list process java.exe,javac.exe and javaw.exe in the options of web security in avast. it solve the problem for me.