I used sudo apt install libpq-dev python3-dev
to install libpq-dev, but I got a puzzling error:
The operation couldn’t be completed. Unable to locate a Java Runtime. Please visit http://www.java.com for information on installing Java.
I read through the docs, and didn't see anything about a JRE, and people at work say I shouldn't need a JRE for this.
Do I really need a JRE for libpq-dev?
If so, what version? If not, what am I doing wrong?