Установленное окружение java оку

Install the Java Runtime Environment

The Java Runtime Environment (JRE) is required to run Java programs. Nowadays there are many JRE packages available from a variety of projects and companies, but the two most popular on Ubuntu are OpenJDK and Oracle HotSpot. Using one package over the other should not create any functional difference in most applications; however, some prefer OpenJDK over Oracle HotSpot as the former does not contain closed-source components, has a much clearer licensing and support policy, and is maintained as part of the Ubuntu archive, with easier installation and upgrades.

In this guide, we’ll be going through the installation of both JRE packages. Of course, you generally only need to pick the one that best suits your needs and preferences.

What you’ll learn

What you’ll need

That’s all you need. If you have that, let’s proceed to the next step!

2. Installing OpenJDK JRE

With new versions of Java released every 6 months, there are multiple versions available for use. Nowadays, Java 11 is the current Long Term Support (LTS) version, but Java 8 is still widely used. Moreover, the non LTS versions of Java are bringing a steady stream of innovation into the language, and also see some adoption.

Ubuntu offers the default-jre package, which is regularly updated to ship the latest version of the current OpenJDK JRE in Long Term Support (LTS). The default-jre is an excellent choice for most situations, thanks to the outstanding track of backwards compatibility of the Java Virtual Machine.

Читайте также:  Strong font in css

(Alternatively, you may opt to use a specific Java version, using for example the openjdk-11-jre package; as updates are released for that version of the Java Virtual Machine, that packages will be updated, allowing you to stick to the latest and greatest update of one specific version of the Java language.)

To install the OpenJDK JRE, we run:

sudo apt install default-jre 

We can check if OpenJDK JRE was properly installed by running:

It should output the following:

openjdk version "11.0.11" 2021-04-20 OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2) OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2, mixed mode) 

(Although the output may change in the future as new Java versions are promoted to LTS status, or the current LTS version receives updates.)

In the next step we’ll install Oracle HotSpot JRE.

3. Installing Oracle HotSpot JRE

Downloading the Oracle HotSpot JRE binaries

Download JRE binaries in .tar.gz (tarball) by heading over to their website. An Oracle account is needed to download the Oracle HotSpot JRE.

Oracle does not currently offer JRE packages for Java 11 or above from their website so, for this tutorial, we will use the Oracle HotSpot JRE version to be 8u291 (Java 8, update 291).

Installing

Create a directory to install JRE in with:

Move the JRE binaries into the directory:

sudo mv jre-8u291-linux-x64.tar.gz /usr/local/java 

Go into the install directory:

sudo tar zxvf jre-8u291-linux-x64.tar.gz 

Post-installation steps

To save space, delete the tarball by running:

sudo rm jre-8u291-linux-x64.tar.gz 

Let the system know where JRE is installed:

sudo update-alternatives --install "/usr/bin/java" "java" "/usr/local/java/jre1.8.0_291/bin/java" 1 

After that’s done, check the installation by running:

It should output the following:

java version "1.8.0_291" Java(TM) SE Runtime Environment (build 1.8.0_291-b10) Java HotSpot(TM) 64-Bit Server VM (build 25.291-b10, mixed mode) 

Need further assistance?

Источник

Java Runtime Environment

Java Runtime Environment

Java Runtime Environment (JRE) — исполнительная среда для запуска и работы приложений, разработанных на одноименном языке программирования. Создателем этого программного обеспечения является известная компания Sun Microsystems (сейчас переименованная в Oracle).

Загрузить JRE можно для Windows 7 x64 (32-bit и 64-bit), Windows 10, 8, Windows XP, 2000, 2003, Vista. ПО заключает в себе виртуальную машину Java Virtual Machine и библиотеку Java-классов.

Вместе с другими средствами разработки данная среда входит в набор инструментов Java Development Kit (JDK).

На нашем сайте вы можете прямо сейчас скачать Java Runtime Environment — в каталоге вас ждет уже последняя версия.

Функциональные особенности программы JRE

Перед тем, как установить JRE, подчеркнем его преимущества и функциональные возможности:

  • Вы сможете скачать JRE бесплатно!
  • Запуск приложения без компилятора и каких-либо средств разработки.
  • Возможность играть в онлайн-игры.
  • Java JRE — инструмент для общения с людьми.
  • Функции счета процентов.
  • Просмотр 3D картинок.
  • Программа Java Runtime Environment автоматически контролирует состояние памяти.
  • Расширенный пакет средств обработки.
  • Комплекс инструментов фильтрации ввода/вывода.
  • Классы для обработки ответов и HTTP-запросов.
  • Унифицированный доступ к разным базам данных.

Джава Рантайм

Эта кроссплатформенная программа может быть полезна в различных областях, поскольку технология Java задействована в веб-камерах, навигационных системах, играх, паркоматах, даже медицинских устройствах.

Она необходима для OpenOffice и для Minecraft, работоспособность некоторых их функций обеспечена именно этой средой.

Джава Рантайм распространяется по свободной лицензии, обновить ее можно через сайт Oracle, через торрент или наш каталог, воспользовавшись ссылкой ниже.

И не забывайте об одном из главных преимуществ языка программирования Джава — его кроссплатформенность, то есть запустить приложения, написанные на нем, вы сможете на разных операционных системах, если установите JRE.

Официальный сайт Sun Microsystems
Поддерживаемые версии Windows 7, 10, 8, XP, Vista
Лицензия Бесплатно
Русский язык Нет
Обновлено 2023-07-11
Количество загрузок 36856

Самые популярные программы

  • uTorrent 3.5.5 Build 46348
  • Adobe Flash Player 32.0.0.465
  • WinRAR 6.21
  • Google Chrome 111.0.5563.65
  • DriverPack Solution 17.11.108
  • Яндекс.Браузер 23.1.5
  • Opera 96.0.4693.80
  • Adobe Reader 2022.003.20322
  • DirectX 9.29.1974 & 11
  • Windows Movie Maker 2.6.4038.0

Последние обновленные программы

  • WinRAR 6.21
  • SaveFrom.net 9.91
  • SHAREit 4.0.6.177
  • Youtube Downloader HD 5.0.1
  • Skype 8.96.0.207
  • AdBlock 4.46.0
  • DriverPack Solution 17.11.108
  • K-Lite Codec Pack 64 bit 10.4.5
  • Adobe Flash Player 32.0.0.465
  • x360ce 4.17.15.0

Источник

JRE Installation for Microsoft Windows (32-bit)

See supported System Configurations for information about supported platforms, operating systems, desktop managers, and browsers.

Running with less memory may cause disk swapping which has a severe effect on performance. Very large programs may require more RAM for adequate performance.

  • Trying to install the Java SE Runtime Environment on a non-supported version of Microsoft Windows or on a machine that doesn’t have a sufficiently up-to-date Service Pack will cause the installer to generate this warning: «We recommend that you do not install this Java platform for the following reasons: This Java platform does not support the operating system or operating-system service pack on this machine.»
  • See Browsers Supported by Next-Generation Java Plugin for information about browser support in the new Java Plugin.

Installation Instructions

Java Update

Note: For any text on this page containing the following notation, you must substitute the appropriate update version number for the notation.

For example, if you are downloading the installer for update 1.6.0_01, the following file name:

1. If choosing «Windows Offline Installation», download and check the download file size

After clicking the JRE «Download» link for the «Windows Offline Installation» a dialog box pops up — choose the following option:

  • Save — This saves the downloaded file without installing it. Check that you have downloaded the entire file by comparing the size of the file you downloaded with the expected size shown on the download page:
  • jre-1_6_0_-windows-i586.exe

This file contains everything needed to install the Java SE Runtime Environment, including the installer and character conversion classes and support for locales other than the US English locale.

2. Run the installer

You must have administrative permissions in order to install the Java SE Runtime Environment on Microsoft Windows 2000 and XP.

The download page provides the following two choices of installation. Continue based on your choice.

  • Open — This starts a small program which then prompts you for more information about what you want to install.

This option starts the installation process by downloading and executing the file jre-1_6_0_-windows-i586-iftw.exe , which prompts you through the steps to download and install only the features you request. (The letters » iftw » mean «install from the web».)

b. Windows Offline Installation — Run the file downloaded in step 1 by double-clicking on the installer’s icon. Then follow the instructions the installer provides. When done with the installation, you can delete the downloaded file to recover disk space.

With either choice, the installer may ask you to reboot your computer

  • Exit the Netscape 7.x, Mozilla 1.x, or Firefox 1.x browser and all of its «objects» (Messenger, Composer . );
  • If the Quick Launch feature is enabled, disable it;
  • Then restart Netscape 7.x, Mozilla 1.x or Firefox 1.x.

The installation process also installs Java Web Start.

Java Web Start

  • Compatibility: The release of Java Web Start that comes with this JRE can be run on JRE 1.2.2 or later. It will not work with JRE 1.1.x or earlier.
  • Upgrading from Previous Versions: If you have a previous release of Java Web Start, do not uninstall it. Uninstalling it will cause the download cache to be cleared, and all previously installed Java Web Start application data will have to be downloaded again. This new release will overwrite previous installations and automatically update browsers to use this new release. The configuration files and program files folder used by Java Web Start have changed, but all your settings will remain intact after the upgrade, since Java Web Start will translate your settings to the new form.
  • Uninstalling: The only way to uninstall Java Web Start is to uninstall the JDK/JRE. Uninstalling the JDK/JRE will not, however, remove the cache for previous releases of Java Web Start. Previous releases have separate uninstallers for Java Web Start.

Note: You may see a misleading message if you do the following:

  1. Download and cache a Java Web Start (JNLP) application with JDK/JRE 5.x
  2. Remove JDK/JRE 5.x using «Add or Remove Programs» from the Windows Control Panel
  3. Remove the Java Web Start application using «Add or Remove Programs.»

When you remove the application, you see an «Uninstaller Error» dialog saying «An error occurred while trying to remove Java-Application: App. It may have already been uninstalled. Would you like to remove Java-Application: App from the Add or Remove program list?» If you say yes to this, then you will see another «Uninstaller Error» dialog saying «You do not have sufficient access to remove Java-Application: App from the Add or Remove Program list. Please contact your system administrator.» This is the misleading message. It implies that the problem is due to privileges. It is not. The problem is that you have already removed the Java Web Start application when you removed JDK/JRE 5.x, but this is not reflected in the «Add or Remove Programs» dialog until it is refreshed by pressing F5 or it is closed and reopened.

To avoid seeing this misleading message, either press F5 or close and reopen the dialog. Any Java Web Start application that was downloaded and cached with JDK/JRE 5.x will no longer appear in the list of currently installed programs.

  • Using Java Web Start with Netscape 6.x/7.x: For Netscape 6.x/7.x users, setup the Java Web Start MIME type (JNLP) in the Edit->Preferences->Navigator->Helper Applications section. The file extension is jnlp ; MIME Type is application/x-java-jnlp-file . It should be handled by the javaws executable file in your Java Web Start directory. Also note that, due to a problem with the JavaScript in Netscape 6.x/7.x, you must use the non-JavaScript version of the demos page

Silent Install — To install the Java SE Runtime Environment non-interactively, which is useful for installing on multiple machines, use Silent Installation Instructions.

JRE Deployment for System Administrators — The JRE can be distributed to intranet users by hosting the .msi file on an internal website and asking users to launch the installer through msiexec. The other option is to install the JRE through Active Directory. The instructions for these are available in the «Intranet Deployment» section of JRE Intranet Deployment.

Launch Applications Directly — If you want to use the Invocation API to launch an application directly rather than using the Java application launcher, please see Location of VM Library Files (jvm.dll).

Источник

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