"Improperly specified VM option" error after installing 2019.2.3 under Windows 7

Answered

I just tried to install 2019.2.3 in parallel with 2017.2 on the computer running Windows 7. After installation, the IDE started successfully and imported the old configuration, then I upgraded plugins, and, on restarting the IDE after that upgrade, it refused to run with the following dialog:

I looked into idea64.exe.vmoptions file, but it was the one installed by default, then I tried to replace it with the old one from 2017.2, then tried to delete it altogether - all this did not make any difference. In fact, the error message did not change to "vmoptions file missing" on deleting the file, it remained as above. I reinstalled IDEA: this time, the above error appeared immediately on launching the IDE after installation, so for now, I cannot proceed further. IDEA 2017.2 runs as before. What could be the problem here?

 

0
13 comments

See https://intellij-support.jetbrains.com/hc/articles/206544869 . You need to delete the .vmoptions file from the config directory, not from the installation directory.

0
Avatar
Permanently deleted user

Thanks a lot, this solved the problem.

0

I got the same error message and cannot launch my 2019.2.1 IDEA. I only have a bin folder with idea64.exe.vmoptions and cannot find any config directory. What can i do? 

0

Are you sure there is no c:\Users\<user>\.IntelliJIdea2019.2 directory?

0
Avatar
Permanently deleted user

I hope someone can help me.

I have exact the same error as Volodymyr Shekhovtsov. I did change the settings for VM in the help menu of Pycharm. 

After restarting pycharm I was unable to start it again because of the problem.

Deleting the vmoptions file from the config did not help. Also deleted the file from the installation dir did do nothing for me.

What to do?

 

0
Avatar
Permanently deleted user

Thanks for reply.

 

I have deleted the pycharm64.exe.vmoptions file from:

C:\Users\Damian\.PyCharmCE2019.2\config

and from

C:\Users\Damian\.PyCharmCE2019.3\config

and from

C:\Program Files\JetBrains\PyCharm Community Edition 2019.1.3\bin

 

 

 

 

0

Try running using pycharm.bat and see what's the error.

0
Avatar
Permanently deleted user

When running pycharm.bat cmd window comes up for split second and disappears again. So I can't see nothing

0

Run cmd.exe first, then start pycharm.bat.

0
Avatar
Permanently deleted user

0

Can you search your disk for the .vmoptions file where this invalid parameter is specified? Also check you don't have _JAVA_OPTIONS environment variable set.

1
Avatar
Permanently deleted user

Hi Serge,

 

I searched the dick for the file and it was found on one other location. The file must came there when I was trying to solve my problem by "silently" installing newest version of Pycharm.

By removing that file problem is fixed. I can run pycharm again.

Big thanks for your help!

 

0

Please sign in to leave a comment.