Java Runtime Environment difficulty

Issues with installing under all versions of MS Windows
Locked
OpenofficeRob123
Posts: 1
Joined: Mon Nov 04, 2024 12:28 am

Java Runtime Environment difficulty

Post by OpenofficeRob123 »

I'm having a small technical issue with OpenOffice Base.

When I create a new database and then tried to create a table, I get a message saying "OpenOffice requires a Java runtime environment (JRE) to perform this task. Please install a JRE and restart OpenOffice."

I downloaded and installed Java with instructions from a YouTube Video and retried my luck at creating a table. I get the same error message however.

Any help would be appreciated. Thanks.
OpenOffice 4 on Windows 11
FJCC
Moderator
Posts: 9620
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Java Runtime Environment difficulty

Post by FJCC »

Did you download a 32 bit Java? On my Windows 10 system, the 32 bit Java is installed at the location C:\Program Files (x86)\Java
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
User avatar
LastUnicorn
Posts: 812
Joined: Sat Mar 29, 2008 2:41 am
Location: Scotland

Re: Java Runtime Environment difficulty

Post by LastUnicorn »

The 'bit-ness' of the java you point OpenOffice to must match the 'bit-ness' of OpenOffice. OpenOffice is 32-bit, so you need java 32-bit (sometimes also designated as x86). (Note that you can have java 32-bit and 64-bit installed on your system at the same time — this doesn't affect OpenOffice. OpenOffice will only attempt to use the java you point it to.

I think the problem with the Oracle site for downloading java JRE is that the site automatically picks up the bit-ness of your PC, or maybe browser, and defaults to giving you a download that matches that bit-ness. As most PCs nowadays will be 64-bit that is what most people unthinkingly download. This catches lots of people out.

The java you need for OpenOffice is the 'Windows Offline' file, current filesize: 60.78 MB

On a different note you might want to switch from OpenOffice to LibreOffice as it is much better maintained and developed than OpenOffice. There are several other good reasons for making the switch anyway, some of which are mentioned here: [Tutorial] Considering a Switch from OpenOffice to LibreOffice? Some Useful Information
LibreOffice 25.8.4.2 (x64) installed to Windows 11 Pro. 25H2
Apache OpenOffice Portable 4.1.16 [Portable Apps]
For Java I use Adoptium Temurin JRE LTS Releases.
Locked