Redmi Note 10 Reset

I have installed the Zotero from APT, placing the folder on /opt. I have problems with the Java environment (JRE). On this post, it is said that one needs to run sudo apt install default-jre and sudo apt install libreoffice-java-common. But I already have them: