Can't run Base on RPi0

Is it possible to run LibreOffice Base on a RPi0 v1.3 (no wifi, used a wifi dongle) ?

I installed LibreOffice on my RPi0 v1.3 running latest Bullseye OS. When I try to use Base to create a table it says “LibreOffice requires a java runtime environment (JRE) to perform this task. Please install a JRE (and libreoffice-java-common) and restart LibreOffice.”

I looked up the problem on google and there are a variety of suggestions. I tried to install JRE using sudo apt install openjdk-10-jre, and then sudo apt install default-jre, but neither worked, when I go to the tools menu option to select the JRE none are listed and it gives the same error.

I know this is a really antiquated piece of hardware but I need to use it. Is it possible?

First of all, Base does not need any Java if you connect your Base document to some non-java database. Base is NOT a database. It is just a set of tools to work with databases.
Tools>Options>Advanced, [Add…] can be used to add a Java runtime directory that is not detected automatically, for instance /usr/lib/jvm/java11-openjdk-amd64/

For some reason I don’t know, various Linux distributions do not install the full office suite. You may have to install some additional packages.

Did you install the java package indicated in the error message you posted?
You didn’t specify whether you did, instead you said you installed the openjdk package.

That package, on it’s own, is not enough, and you also need the Libre office-java package that was indicated in the error message.

You could also try installing the libreoffice-report-builder and libreoffice-report-builder-bin packages. As these packages require Java to work, they may have a dependency on the other packages required, and pull them in for installation as well.

I don’t know which dependencies Bullseye uses, but if they are similar to those in Ubuntu (which relies on upstream Debian), then perhaps the above might work.

Thanks. I tried selecting a directory for the JRE but I get this error:
“The folder you selected does not contain a java runtime environment. Please select another folder”.

If I look in my usr/lib/jvm dir, I have several java directories:
default-java → java-1.11.0-openjdk-armhf
java-10-openjdk-armhf
java-1.10.0-openjdk-armhf → java-10-openjdk-armhf
java-1.11.0-openjdk-armhf → java-11-openjdk-armhf
java-11-openjdk-armhf

I get the error if I select any of these directories or the bin subdirectory, there is a java executable file in each.

Yes I installed the libreoffice-java-common package. The OS is Raspbian GNU/Linux 11 (bullseye), 32 bit.

Ok, so I found there is a special Java version for the Pi zero, it is openjdk-8-jre-zero. I installed it and now it appears to run correctly. When I go to the Java options window it shows “Raspian, version 1.8.0_312”. I notice in the installation directory I find a “JRE” directory whereas in the others there is no JRE directory. Thanks again.