Not really. But what you can do is to install Java on one computer and then ZIP the folder where the files were installed. To install on all the other computers, just unzip the archive, set JAVA_HOME and change the PATH variable.

If that's too much work to do manually, you can try to create a custom installer.

Note that this might violate the EULA; if you do this for a company, have legal check this.

Answer from Aaron Digulla on Stack Overflow
🌐
Wikihow
wikihow.com › computers and electronics › software › programming › java › how to update java: 6 quick ways (automatic & manually)
How to Update Java: 6 Quick Ways (Automatic & Manually)
February 24, 2025 - If you receive a message that says ... latest version. ... Press Ctrl+Alt+T to open the Terminal. You can update Java easily using the Terminal in Linux using your package manager. ... Update your package repositories. The way you will do this is different depending on your Linux distribution. Type one of the following commands and press ...
Discussions

How to update my Java from 17 to 22?
Please ensure that: Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions You include any and all error messages in full You ask clear questions You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions. Trying to solve problems on your own is a very important skill. Also, see Learn to help yourself in the sidebar If any of the above points is not met, your post can and will be removed without further warning. Code is to be formatted as code block (old reddit: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png ) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc. Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit. Code blocks look like this: public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World!"); } } You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above. If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures. To potential helpers Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns. More on reddit.com
🌐 r/javahelp
19
5
May 6, 2024
how to update java jdk to the latest version in linux terminal?
Please ensure that: Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions You include any and all error messages in full You ask clear questions You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions. Trying to solve problems on your own is a very important skill. Also, see Learn to help yourself in the sidebar If any of the above points is not met, your post can and will be removed without further warning. Code is to be formatted as code block (old reddit: empty line before the code, each code line indented by 4 spaces, new reddit: https://imgur.com/a/fgoFFis ) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc. Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit. Code blocks look like this: public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World!"); } } You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above. If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures. To potential helpers Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns. More on reddit.com
🌐 r/javahelp
5
1
July 9, 2021
I installed the latest version of java, but when I type "java --version" on terminal it shows the old one.
The most likely reason this shows up in your terminal is because your old Java version is in the PATH environment variable. Irrespective of your OS, make sure you add the path to the new java installation to your PATH environment variable, and that this new version comes earlier in your PATH variable than the older java installation. The best practice in adding java path to the environment variable is to make a new environment variable called JAVA_HOME and then using that in the PATH environment variable or any other environment variables where you need java. More on reddit.com
🌐 r/javahelp
10
7
January 14, 2023
Debian Alternatives System - anything similar on Arch?
no, but there is one specifically for java , which makes me think that the idea isn’t as bad as other comments might suggest. it’s a problem also for e.g. python packages providing a binary: they can be installed once for python2 and once for python3. but which should contain the binary without version suffix? More on reddit.com
🌐 r/archlinux
20
17
November 29, 2014
🌐
Oracle
java.com › en › download › help › update_runtime_settings.html
Update Java runtime settings on Windows
If your browser is not using the latest version you have installed, you will need to enable the latest version of Java in the Java Control Panel.
🌐
iO Flood
ioflood.com › blog › how-to-update-java
How to Update Java: A Step-by-Step Guide
March 12, 2024 - If you have multiple Java versions installed, they could cause conflicts. This is especially common among developers who need to test their applications on different Java versions. Solution: Use the update-alternatives command on Linux to switch between Java versions.
Find elsewhere
🌐
MI Support IT
misupportit.dk › home › tech corner › how to update java, it admin guide
How to update Java, IT admin guide - MI Support IT
January 4, 2024 - If the installation succeeded, you'll get a confirmation message. Open a terminal by pressing Ctrl + Alt + T or searching for "terminal" in the menu. Update the package list by entering: sudo apt-get update
🌐
Besu-eth
docs.besu-eth.org › how to › install and update java
Install and update Java | Besu documentation
June 3, 2026 - To update point versions of Java, run the upgrade command:
🌐
Bell Software
bell-sw.com › blog › updating-the-java-version
How to update Java: A comprehensive guide
September 5, 2024 - They affect a smaller range of Java libraries and so can be integrated into the project without the risk of disrupting the workflow. PSU updates include all patches and fixes from CPU plus non-critical fixes, enhancements, and feature updates. Most OpenJDK release only PSU builds, and three vendors — Oracle, BellSoft, and Azul — provide CPU builds in addition to PSU. OpenJDK vendors provide free updates for major LTS versions for commercial and personal use, but the range of versions depends on the vendor.
🌐
Xcitium
xcitium.com › blog › news › how-to-update-java
How to Update Java on Windows, Mac and Linux
February 23, 2026 - Before learning how to update Java, you should know which version you’re running. Open the Command Prompt.
🌐
Red Hat
developers.redhat.com › articles › 2023 › 01 › 09 › how-run-correct-java-version-after-update
How to run the correct Java version after an update | Red Hat Developer
January 9, 2023 - Specifically, I need to change the JDK version in the path from openjdk-17.0.4.1.1–1.fc35.x86_64 to openjdk-17.0.5.0.8–2.fc35.x86_64. When you save your changes, .bashrc looks like Figure 4. Figure 4: The .bashrc file is updated now to expect openjdk-17.0.5.0.8–2.fc35.x86_64. To reflect the changes in your shell, either close and launch the terminal again or use the following command: ... In this way, you can easily update your JAVA_HOME environment variable and continue coding in Java.
🌐
DEV Community
dev.to › brilworks › how-to-update-java-jdk-a-simple-guide-194m
How to Update Java JDK [A Simple Guide] - DEV Community
December 5, 2024 - Download the correct JDK version for your system. Extract the downloaded archive using this command. ... Move the extracted files to your preferred directory for installation. Note: This method does not automatically configure Java Preferences.
🌐
Ultimate Systems Blog
blog.usro.net › ultimate systems blog › how-to › windows › how to change, set, check, and update java on windows
How to Change, Set, Check, and Update Java on Windows – Ultimate Systems Blog
November 17, 2024 - Verify It Works: Open Command Prompt and type:echo %JAVA_HOME% If it spits out the correct path, congratulations—you’ve done it! Updating Java doesn’t have to be a pain (unless you enjoy unnecessary stress, in which case, proceed without reading this). ... Visit the Java Downloads Page. Compare your installed version (java -version) with the latest available.
🌐
Javatpoint
javatpoint.com › how-to-update-java
How to Update Java - Javatpoint
How to Update Java with java tutorial, features, history, variables, object, programs, operators, oops concept, array, string, map, math, methods, examples etc.
Top answer
1 of 4
2
Install and use “SDK man” if you’re dealing with JDKs. It saves a ton of time and makes your life easy. Works well on Linux.
2 of 4
1
Please ensure that: Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions You include any and all error messages in full You ask clear questions You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions. Trying to solve problems on your own is a very important skill. Also, see Learn to help yourself in the sidebar If any of the above points is not met, your post can and will be removed without further warning. Code is to be formatted as code block (old reddit: empty line before the code, each code line indented by 4 spaces, new reddit: https://imgur.com/a/fgoFFis ) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc. Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit. Code blocks look like this: public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World!"); } } You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above. If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures. To potential helpers Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
🌐
Oracle
java.com › en › download › help › mac_java_update.html
How do I Update Java for my Mac?
Click on Install Update. Click on Install and Relaunch. Save all your work before clicking Install and Relaunch. Once the installation is completed the Java application will be relaunched. If the Java application does not relaunch, manually relaunch so you can take advantage of the latest Java. If you choose Skip This Version ...
🌐
PaperMC
docs.papermc.io › misc › java-install
Installing or updating Java | PaperMC Docs
If this does not show up for you, the Java version can be manually changed. Navigate to the “Startup” tab of your server, select Java 25 from the “Docker Image” dropdown as shown in the image below. ... If you don’t see Java 25 in the dropdown, an administrator account is required to update the Paper egg. The Verifying Installation section does not apply for Pterodactyl. ... Now that you have installed Java 25, run this command in your terminal to ensure the process was successful.
🌐
Linux Mint Forums
forums.linuxmint.com › board index › main edition support › software & applications
[SOLVED] How do i update Java? - Linux Mint Forums
October 27, 2017 - sudo apt-get install openjdk-8-jdk [/color] VIP: If you have more than one Java versions installed on your system. Run the command below to set the default Java: ... sudo update-alternatives --config java [/color] Type in a number to select a Java version.
🌐
GeeksforGeeks
geeksforgeeks.org › java › how-to-update-the-java-version-in-windows
How to Update the Java Version in Windows? - GeeksforGeeks
January 2, 2023 - Java Update is a feature that keeps your windows computer up to date with the latest Java releases. You can use Java's update feature to manually force an available update on windows. But, when you have auto update enabled, your system periodically checks for new versions of Java and updates it automatically.