Home > Back-end >  How to install get-jstack on ubuntu
How to install get-jstack on ubuntu

Time:09-21

I want to connect by ssh to my server using Jetbrains Gateway and I have the same error, when I install jetbrains PyCharm client on my ubuntu server:

Details:
An error occurred while executing command: 'get-jstack --ide-path=/root/.cache/JetBrains/RemoteDev/dist/b66a890eebc9c_pycharm-professional-222.4167.4 --project-path=/dev'
Exit code: 1

I tryied run command:

get-jstack --ide-path=/root/.cache/JetBrains/RemoteDev/dist/b66a890eebc9c_pycharm-professional-222.4167.4 --project-path=/dev

and have error:

-bash: get-jstack: command not found

How to install get-jstack?

CodePudding user response:

I had the same issue trying to connect to a Ubuntu VM with Gateway (Rider was the chosen IDE). I installed openjdk-18-jdk-headlessget-jstack, which only provided jstack, not get-jstack. That didn't help, it threw the same error again.

Then I tried starting the IDE at another directory path. Not the .sln, just the folder containing it. That worked flawlessly and after that I could open the .sln as well.

I'm not sure if this will work for you as well, but it worked for me with the same error message. Obviously there aren't any .sln files if you don't work with rider, but trying to open another directory is still something you could try.

CodePudding user response:

Can someone share how to enable get-jstack command on linux?

  • Related