Installing Adoptium Java

Issues with installing under all versions of MS Windows
Post Reply
fredheyer
Posts: 5
Joined: Tue Dec 17, 2024 12:49 pm

Installing Adoptium Java

Post by fredheyer »

I downloaded and unzipped Adoptium but do not see any setup, install or exe files. What to do?
OPENOFFICE 4.1.15 windows11
User avatar
robleyd
Moderator
Posts: 5383
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Installing Adoptium Java

Post by robleyd »

do not see any setup, install or exe files
This is unrelated to your question about Background color in text documents so I have moved it to the Install section of the forum.

If you want an automated install of Adoptium you need the .msi installer package; see also their documentation - Windows MSI installer packages
Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 25.2.4.3; SlackBuild for 25.2.4 by Eric Hameleers
---------------------
Roses are Red, Violets are Blue]
Unexpected '{' on line 32
.
User avatar
keme
Volunteer
Posts: 3778
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: Background color in text documents

Post by keme »

fredheyer wrote: Wed Dec 18, 2024 9:16 am I downloaded and unzipped Adoptium but do not see any setup, install or exe files. What to do?
There is a reference to Adoptium in LastUnicorn's signature. I suspect that you took that signature as part of his advice, which it wasn't.

Most likely you can safely disregard this. Nevertheless, for completeness:
  • OpenOffice for Windows is still strictly 32-bit. To have a Java solution which will work for OpenOffice on Windows, select the X86 architecture in the "download filters" step.
  • Unless you are a Java developer, you are probably best served by the simpler JRE package.
    That may also have a more permissive license (I am just guessing; I am not installing it so I didn't read the license terms).
  • You should select the MSI download link (as also robleyd advised). That gives the simplest install procedure on Windows.
Again, this may be useful if you have issues (technical, license-wise, or political issues) relating to the current Java install (or lack of such) on your computer. Most likely it has no bearing on that background color issue you originally posted about. If the coloring is all you need help with at this time, please disregard my reply here.
User avatar
LastUnicorn
Posts: 767
Joined: Sat Mar 29, 2008 2:41 am
Location: Scotland

Re: Installing Adoptium Java

Post by LastUnicorn »

You downloaded the .zip file, which is what I do myself as I don't want to 'install' java to my system. To use the zip file and contents do the following:

(1) Extract the folder from the zip file to a location of your preference on your hard-drive/SSD.
(2) Leave the extracted folder name as is, or rename it to any name you wish that is meaningful to you.
(3) Launch OpenOffice Writer and go (menu) Tools > Options... > OpenOffice > Java and tick the option Use a Java runtime environment.
(4) Now click the Add... button — a Select Path dialogue will open up.
(5) In the select dialogue drill to the folder that contains the java and click on it, then click OK.
(6) This will take you back to the Java options dialogue and you should now see your java installation in there. If that is so now click the OK button and that is that.

All the above said as robleyd and keme say you could download and install the .msi file. To install that just double-click the msi file to launch it and follow the steps necessary to install. How you get the installation registered with OpenOffice I don't know (as I've never fully installed java to my own systems) but I would guess the routine would be similar to the above.

P.S. If you download and install java by any method you need to make sure for OpenOffice that the java you download is 32-bit. The bitness must match the bitness of your application and OpenOffice is only 32-bit. If you were using LibreOffice then again you need to match the bitness of java to the bitness of LibreOffice you have installed. LibreOffice is available in 32-bit and 64-bit implementations.
LibreOffice 25.2.3.2 (x64) installed to Windows 11 Pro. 24H2
Apache OpenOffice Portable 4.1.15 [Portable Apps]
For Java I use Adoptium Temurin JRE LTS Releases.
Post Reply