Unable to open pycharm

Hi Team,

While trying to open Pycharm IDE from Ubuntu terminal getting below messages.
Could you please me on the issue?
<<Message>> 
/Downloads/pycharm-community-2020.1.2/bin$ ./pycharm.sh
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
IDE is being shut down

Thanks,
Bikram

0
5 comments

IDE is probably started with wrong Java runtime, please ensure IDE is started with the bundled Java runtime located in <pycharm_installation>/jbr

https://intellij-support.jetbrains.com/hc/en-us/articles/206544879-Selecting-the-JDK-version-the-IDE-will-run-under

The first thing you can try is to set PYCHARM_JDK_64 env variable to bundled jbr and try running pycharm.sh again.

-1

When I use the following command: /Desktop/pycharm-community-2020.1.2/bin$ ./pycharm.sh 

in my ubuntu terminal, I only get the following message: IDE is being shut down. What can I do to try and fix this?

Thanks

0

Hello @Lucas Bergsma, 

 

I am wondering if you have checked the bundled Java runtime is being used? Please see the previous comment here by Andrey Resler

0

I'm getting this as well. It is unrelated to the Java runtime. I have been running this version of PyCharm for weeks. I had an OOM situation, exited PyCharm normally using PyCharm's exit button, and now it will not start saying "IDE is being shut down".

Clearly some state-storage mechanism was not deleted/reset properly. The solution will be something like "delete this file or directory". It would be great to know which file/directory to delete.

 

0

In case anyone else finds this, for me the solution was to kill PyCharm (2021.2) processes that were hanging around after the OOM (out of memory). Closing PyCharm with PyCharm's exit button after an OOM apparently may not exit the process. I grepped for PyCharm processes, killed the two I could find, and then PyCharm started normally again:

ps -ef | grep pycharm
3

Please sign in to leave a comment.