Update your java runtime

Как обновить версию Java?

Корректная работа большинства приложений возможна лишь в том случае, если версия программных компонентов актуальна. Java — не исключение. В этой статье мы рассмотрим, как обновить Java до последней актуальной версии и предложим несколько способов решения вопроса.

Когда пишут подробные гайды о том, как устанавливается Java, далеко не всегда упоминают, что версию Java надо периодически обновлять. «Зачем вообще это делать?» — спросите вы. Для этого существует 2 веские причины:

— обновление версии Джава на компьютере сделает доступными все последние функции программного обеспечения;

— обновление версии Java повысит уровень безопасности. Чем реже обновлять программу после установки, тем выше вероятность ее взлома злоумышленниками, т. к. рано или поздно в устаревших версиях ПО появляются бреши и слабые места, которые особенно уязвимы с точки зрения информационной безопасности. О том, что устаревшие версии Java — это серьезная угроза безопасности, сказано и на официальном разработчиков.

Как загрузить новую версию Java?

Обновление и установка Java происходит иначе, если сравнивать с тем же JavaScript (JavaScript — язык программирования, посредством которого страницы веб-сайтов приобретают интерактивность, то есть поддержка JavaScript в web-браузерах включена по умолчанию).

Читайте также:  Вычислить квадратный корень числа java

Чтобы выполнить update в Джава, иногда надо удалить старые версии программы (отдельные модули) и выполнить установку новых. Сделать это можно на сайте разработчиков. Существует специальная страница с инструментом, позволяющим избавиться от старых out of date версий, чтобы потом установить новые версии Java. Для работы просто нажмите кнопку, указанную на сайте. В результате можно будет загрузить исполняемый файл JavaUninstallTool.exe . Программа проверит, есть ли на вашем компьютере версии Java, которые можно деинсталлировать. Далее вы спокойно производите установку актуальной версии, указав куда.

Самостоятельное обновление. Включение автоматического режима

Обновить программный компонент можно и самому, для чего используется Java Control Panel (устанавливается одновременно с Джава). Получить доступ к этому инструменту несложно, да и дополнительно загружать ничего не надо.

Откройте «Все элементы панели управления», найдите значок Java, запустите его.

Наберите «java» в меню «Пуск», выберите Check for Updates, выполните запуск.

В результате вы откроете программу, позволяющую обслуживать версию Java, установленную на ваш персональный компьютер. В нашем случае требуется открыть вкладку «Update».

Чтобы загрузить новую версию, останется лишь нажать кнопку «Update Now». Все, обновление устанавливается сразу и куда надо!

Если есть необходимость, Java Control Panel устанавливает все автоматически. Обновиться таким образом можно с помощью продвинутых настроек. Куда нажать? Все просто: чтобы предоставить системе возможность самостоятельно выполнять загрузку и установку обновлений, отмечаем галочкой чек-бокс «Check for Updates Automatically» и нажимаем кнопку «Advanced».

В результате вы получите возможность выбирать периодичность апдейта: ежедневно, еженедельно, ежемесячно. Плюс можно выбирать день недели и конкретное время, то есть вы формируете для системы расписание загрузки. Вдобавок к этому, возможна настройка уведомлений:

— уведомление приходит до начала загрузки компонентов;

— уведомление приходит после загрузки, но до начала непосредственной установки.

Вот и все, теперь вы будете знать не только о том, как установить Java, но и о том, как скачать и обновить программу, то есть поставить на ПК самую последнюю версию. Желаем успешно обновиться!

Источник

Java Downloads

JDK 20 is the latest release of Java SE Platform and JDK 17 LTS is the latest long-term support release for the Java SE platform.

JDK Development Kit 20.0.2 downloads

JDK 20 binaries are free to use in production and free to redistribute, at no cost, under the Oracle No-Fee Terms and Conditions.

JDK 20 will receive updates under these terms, until September 2023 when it will be superseded by JDK 21.

Release information

JDK Development Kit 17.0.8 downloads

JDK 17 binaries are free to use in production and free to redistribute, at no cost, under the Oracle No-Fee Terms and Conditions.

JDK 17 will receive updates under these terms, until September 2024, a year after the release of the next LTS.

Release information

GraalVM for JDK 20.0.2 downloads

GraalVM for JDK 20 binaries are free to use in production and free to redistribute, at no cost, under the GraalVM Free Terms and Conditions.

GraalVM for JDK 20 will receive updates under these terms, until September 2023 when it will be superseded by GraalVM for JDK 21.

Oracle GraalVM uses the Graal just-in-time compiler and includes the Native Image feature as optional early adopter technology.

Native Image is extensively tested and supported for use in production, but is not a conformant implementation of the Java Platform. GraalVM for JDK 20 without the Native Image feature included is available for customers at My Oracle Support.

Release information

GraalVM for JDK 17.0.8 downloads

GraalVM for JDK 17 binaries are free to use in production and free to redistribute, at no cost, under the GraalVM Free Terms and Conditions.

GraalVM for JDK 17 will receive updates under these terms, until September 2024, a year after the release of the next LTS.

Oracle GraalVM uses the Graal just-in-time compiler and includes the Native Image feature as optional early adopter technology.

Native Image is extensively tested and supported for use in production, but is not a conformant implementation of the Java Platform. GraalVM for JDK 17 without the Native Image feature included is available for customers at My Oracle Support.

Release information

Script-friendly Download URLs

The URLs listed above will remain the same for update releases to allow their use in scripts.

Java logo

Protect your investment—and more

Java SE subscribers get support for JDK 17, receive updates until at least October 2029, are entitled to GraalVM Enterprise, Java Management Service, and bundled patch releases (BPRs) with fixes not yet available to nonsubscribers, and more.

Java SE subscribers have more choices

Also available for development, personal use, and to run other licensed Oracle products.

Java SE Development Kit 8u381

Java SE subscribers will receive JDK 8 updates until at least December 2030.

The Oracle JDK 8 license changed in April 2019

The Oracle Technology Network License Agreement for Oracle Java SE is substantially different from prior Oracle JDK 8 licenses. This license permits certain uses, such as personal use and development use, at no cost — but other uses authorized under prior Oracle JDK licenses may no longer be available. Please review the terms carefully before downloading and using this product. FAQs are available here.

Commercial license and support are available for a low cost with Java SE Universal Subscription.

Java SE 8u381 checksums and OL 8 GPG Keys for RPMs

JRE 8

Java SE Runtime Environment 8u381

Server JRE 8

Server JRE (Java SE Runtime Environment) 8u381

Which Java 8 package do I need?

Software developers: Java SE Development Kit (JDK) For Java developers. Includes a complete JRE plus tools for developing, debugging, and monitoring Java applications.

Running headless Linux workloads at or near your systems’ CPU or memory limits Enterprise Performance Pack brings significant memory and performance improvements including modern garbage collection algorithms, reduced memory usage and many other optimizations. Learn more

Administrators running applications on a server Server Java Runtime Environment (Server JRE). For deploying Java applications on servers. Includes tools for JVM monitoring and tools commonly required for server applications, but does not include browser integration (Java plug-in), auto-update, or an installer. Learn more

End user running Java on a desktop: Java Runtime Environment (JRE) Covers most end-users needs. Contains everything required to run Java applications on your system.

Release information

Источник

How to Update Java

This article was co-authored by wikiHow staff writer, Jack Lloyd. Jack Lloyd is a Technology Writer and Editor for wikiHow. He has over two years of experience writing and editing technology-related articles. He is technology enthusiast and an English teacher.

The wikiHow Tech Team also followed the article’s instructions and verified that they work.

This article has been viewed 108,375 times.

This wikiHow teaches you how to update Java on your computer. Although Java will usually update itself when possible, you can use Java’s update feature to force an available update on Windows and Mac computers.

On Windows

Image titled Update Java Step 1

Windows Start

Image titled Update Java Step 2

Image titled Update Java Step 3

Click Configure Java . It’s at the top of the list of matching programs. Doing so opens the Java control panel.

Image titled Update Java Step 4

Image titled Update Java Step 5

Click Update Now . You’ll find this button in the bottom-right corner of the window. Doing so prompts Java to begin looking for an update.

Image titled Update Java Step 6

  • If you receive a message that says you’re already running the latest version of Java, you can’t update Java.

On Mac

Image titled Update Java Step 7

Mac Apple

Image titled Update Java Step 8

Click System Preferences… . It’s in the drop-down menu. The System Preferences window will open.

Image titled Update Java Step 9

  • If you don’t see the Java option in System Preferences, skip to the last step in this method.

Image titled Update Java Step 10

Image titled Update Java Step 11

Image titled Update Java Step 12

  • If you receive a message that says you’re already running the latest version of Java, you can’t update Java.

Image titled Update Java Step 13

  • You may be prompted to enter your Mac’s password at some point in the update process. If so, enter your password, then press ⏎ Return .

Image titled Update Java Step 14

  • Go to https://www.java.com/en/ in your computer’s web browser.
  • Click the red Free Java Download button.
  • Click Agree and Start Free Download.
  • Double-click the downloaded Java DMG file.
  • Drag the Java logo onto the «Applications» folder icon in the window that opens.
  • Follow the on-screen installation prompts.

Community Q&A

Thanks! We’re glad this was helpful.
Thank you for your feedback.
As a small thank you, we’d like to offer you a $30 gift card (valid at GoNift.com). Use it to try out great new products and services nationwide without paying full price—wine, food delivery, clothing and more. Enjoy! Claim Your Gift If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission. Support wikiHow

Java will usually update automatically, but manually installing an update as indicated in this article can help speed up the update process.

Installing the latest version of Java will replace your current version with the updated Java installation.

If you receive a Java update pop-up window on a random page in your browser, close the page and attempt to update Java as outlined in this article rather than using the pop-up. Some pages will use fake update messages to get you to install a virus.

You Might Also Like

Check Your Java Version in the Windows Command Line

Use Easy Windows CMD Commands to Check Your Java Version

Set Java Home

How to Set JAVA_HOME for JDK & JRE: A Step-by-Step Guide

Do Division in Java

How to Do Division in Java (Integer and Floating Point)

Compile and Run Java Program by Notepad

How to Compile and Run Java Programs Using Notepad++

Compile & Run Java Program Using Command Prompt

Calculate Percentage in Java

Add JARs to Project Build Paths in Eclipse (Java)

Check Null in Java

Install Java in Ubuntu Using Terminal

Program in Java

Create an Executable File from Eclipse

Call a Method in Java

Print Double Quotes in Java

Simple Steps to Type a Bunny with Your Keyboard

Check Java Version on a Mac

About This Article

This article was co-authored by wikiHow staff writer, Jack Lloyd. Jack Lloyd is a Technology Writer and Editor for wikiHow. He has over two years of experience writing and editing technology-related articles. He is technology enthusiast and an English teacher. This article has been viewed 108,375 times.

Is this article up to date?

Quizzes

You Might Also Like

Use Easy Windows CMD Commands to Check Your Java Version

How to Set JAVA_HOME for JDK & JRE: A Step-by-Step Guide

How to Do Division in Java (Integer and Floating Point)

How to Compile and Run Java Programs Using Notepad++

Источник

Оцените статью