cannt run IntelliJ Follow
Answered
Hi, I met a problem about IntelliJ, I deleted all JDK and old version of intelliJ, then downloaded IntelliJ 2020.1.1, my OS is window10, when I was installing the intelliJ, I chose option at final installation page: run the intelliJ, and it can run directly, but after I closed it, and tried to re-run it, it would not start anymore. and I repeated deleting and re-installing again, everytime,it happened exactly same. also I tried to run idea.bat file in terminal. after I typed set PATH%PATH%................, no any waring showed up at all. I donot know what is happening to my laptop. Please help me. Thank you.
Please sign in to leave a comment.
Hello,
Does it show splash screen? Do you see IDEA process in process explorer? Do you use any antivirus software? Are there any messages when you run idea.bat?
HI, Yaroslav Bedrov, It does not show splash screen, but when i clicked intelliJ icon, a blue circle showed up for one second, than that circle disappeared. and nothing happened. i donot have process explorer, but in task explorer, i cannt find intelliJ at all. and I also turn off the antivirus software for intelliJ. when I tred to open idea.bat in the folder, it showed, I donot have idea.bat, and then i tried in terminal to run it, but after I typed that command, no waring showed up.
> when I tred to open idea.bat in the folder, it showed, I donot have idea.bat, and then i tried in terminal to run it, but after I typed that command, no waring showed up
Could you please attach screenshot after running idea.bat in terminal?
yea, I found out i USED wrong command , i used the set path command, rather than "idea.bat". after I typed"idea.bat", intelliJ started running, but should I do something here about the warning? but when I clicked the intelliJ icon, I cannt run it, why?
You may ignore the warning. Are ther any logs recorded (https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files)?
I met problem again, when I tried to "idea.bat", I can not run it any more. it reminded me this.
I just changed the settings(the font, and the background color) then when I ran it, showed that extra warning.
Please attach your .vmoptions files: https://intellij-support.jetbrains.com/hc/en-us/articles/206544869-Configuring-JVM-options-and-platform-properties
this is my vmoption file
-Xms128m
-Xmx750m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-XX:CICompilerCount=2
-Dsun.io.useCanonPrefixCache=false
-Djdk.http.auth.tunneling.disabledSchemes=""
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-Djdk.attach.allowAttachSelf=true
-Dkotlinx.coroutines.debug=off
-Djdk.module.illegalAccess.silent=true
this is the screen cut after i changed background color and font. i deteled it then re-installed it again then repeat everything I have done, then i got this same result.
What about logs (https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files)? Are there any? Looks like 32-bit JDK is used to run IDE. Does it help to run "idea.exe" instead of "idea64.exe"? By the way - what vmoptions file did you posted - idea.exe.vmoptions or idea64.exe.vmoptions ?
Hi, thank you so much for contributing your time to help me. I do appreciate it.
that vmoptions file was idea64.exe.vmoptions. I run "idea.bat" in command line, I also checked log, there was too much information in the log. so I did not screen cut the pic, but I did pick out some parts, I attached them here. About 32-bit JDK, I remembered that when I installed IntelliJ, that was a page asking me if i want to down load 32bit runtime? but when after itset up and when I tried to create new project, at "Java"--"Project SDK" part, I picked my own JDK ,
this was the result that tried to run "idea.exe" and "idea64.exe" and "idea.bat".(the second pic) , i donot know why I can only run idea.bat(before i changed font and background color),
after I changed my font and background color, i checked the log, it was this information(the first pic)
I solved the problem. if i run idea.exe, i need to download 32bit jdk, so i just run idea.bat in terminal to open intelliJ. also, i changed jdk for importer to my 64bit jdk, then everything now is working, just cannt run it by clicking icon. i can only run it from terminal by command: "idea.bat"
Please try to reinstall Visual C++ (https://intellij-support.jetbrains.com/hc/en-us/community/posts/360007736219/comments/360001549459)
you are amazing, i reinstalled vc++2015, everything now is working, even after I changed font and background color, I can run it in terminal and by clicking icon. oh my god, finally, thank you very much!
You are welcome!