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.
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