totensee
totensee

Reputation: 78

ERROR: Cannot install PyCharm: No JRE found

I am trying to install PyCharm on my raspberry-pi 4 but I get this error:

ERROR: Cannot start PyCharm: No JDK found

and I also tried:

sudo apt install default-jre

but I'm still getting the error.

Upvotes: 2

Views: 13840

Answers (2)

Aking
Aking

Reputation: 682

if openjdk-11-jdk is already installed, you need to run:

export PYCHARM_JDK=/usr/lib/jvm/java-11-openjdk-amd64/

this will add the address of the jdk to the correct environment variable.

Upvotes: 0

DivideByZero
DivideByZero

Reputation: 461

The JRE is a subset of the JDK. It's possible that you need the whole JDK in order for PyCharm to work.

Try this:

sudo apt-get install openjdk-11-jdk

Upvotes: 7

Related Questions