Java™ Platform Overview
The JRE provides the libraries, Java virtual machine, and other components necessary for you to run applets and applications written in the Java programming language. This runtime environment can be redistributed with applications to make them free-standing.
Java SE Development Kit (JDK)
The JDK includes the JRE plus command-line development tools such as compilers and debuggers that are necessary or useful for developing applets and applications.
Java Programming Language
The Java Programming Language is a general-purpose, concurrent, strongly typed, class-based object-oriented language. It is normally compiled to the bytecode instruction set and binary format defined in the Java Virtual Machine Specification. For more information see Language Features.
Java Virtual Machines
The Java virtual machine is an abstract computing machine that has an instruction set and manipulates memory at run time. The Java virtual machine is ported to different platforms to provide hardware- and operating system-independence.
The Java Platform, Standard Edition provides two implementations of the Java virtual machine (VM):
Java HotSpot Client VM
The client VM is an implementation for platforms typically used for client applications. The client VM is tuned for reducing start-up time and memory footprint. It can be invoked by using the -client command-line option when launching an application.
Java HotSpot Server VM
The server VM is an implementation designed for maximum program execution speed, trading off launch time and memory. It can be invoked by using the -server command-line option when launching an application.
For more information, see the VM documentation.
Base Libraries
Classes and interfaces that provide basic features and fundamental functionality for the Java platform.
Lang and Util Packages
Provides the fundamental Object and Class classes, wrapper classes for primitive types, a basic math class, and more. See the Lang and Util documentation for more information.
Math functionality includes floating point libraries and arbitrary-precision math. For more information, see the Math documentation.
Monitoring and Management
Comprehensive monitoring and management support for Java platform including Monitoring and Management API for Java virtual machine, Monitoring and Management API for the Logging Facility, jconsole and other monitoring utilities, out-of-the-box monitoring and management, Java Management Extensions (JMX), and Oracle’s Platform Extension. See the Monitoring and Management documentation for more information.
Package Version Identification
The package versioning feature enables package-level version control so that applications and applets can identify at runtime the version of a specific Java Runtime Environment, VM, and class package. For more information, see the Package Version Identification documentation.
Reference Objects
Reference objects support a limited degree of interaction with the garbage collector. A program may use a reference object to maintain a reference to some other object in such a way that the latter object may still be reclaimed by the collector. A program may also arrange to be notified some time after the collector has determined that the reachability of a given object has changed. Reference objects are therefore useful for building simple caches as well as caches that are flushed when memory runs low, for implementing mappings that do not prevent their keys (or values) from being reclaimed, and for scheduling pre-mortem cleanup actions in a more flexible way than is possible with the Java finalization mechanism. For more information, see the Reference Objects documentation.
Reflection enables Java code to discover information about the fields, methods and constructors of loaded classes, and to use reflected fields, methods, and constructors to operate on their underlying counterparts on objects, within security restrictions. The API accommodates applications that need access to either the public members of a target object (based on its runtime class) or the members declared by a given class. Programs can suppress default reflective access control. For more information, see the Reflection documentation.
Collections Framework
A collection is an object that represents a group of objects. The collections framework is a unified architecture for representing collections, allowing them to be manipulated independently of the details of their representation. It reduces programming effort while increasing performance. It allows for interoperability among unrelated APIs, reduces effort in designing and learning new APIs, and fosters software reuse. For more information, see the Collections Framework documentation.
Concurrency Utilities
The Concurrency Utilities packages provide a powerful, extensible framework of high-performance threading utilities such as thread pools and blocking queues. This package frees the programmer from the need to craft these utilities by hand, in much the same manner the Collections Framework did for data structures. Additionally, these packages provide low-level primitives for advanced concurrent programming. For more information, See the Concurrency Utilities documentation.
Java Archive (JAR) Files
JAR (Java Archive) is a platform-independent file format that aggregates many files into one. Multiple Java applets and their requisite components (.class files, images and sounds) can be bundled in a JAR file and subsequently downloaded to a browser in a single HTTP transaction, greatly improving the download speed. The JAR format also supports compression, which reduces the file size, further improving the download time. In addition, the applet author can digitally sign individual entries in a JAR file to authenticate their origin. It is fully extensible. For more information, see the Java Archive documentation.
The Logging APIs facilitate software servicing and maintenance at customer sites by producing log reports suitable for analysis by end users, system administrators, field service engineers, and software development teams. The Logging APIs capture information such as security failures, configuration errors, performance bottlenecks, and/or bugs in the application or platform. For more information, see the Logging documentation.
Preferences
The Preferences API provides a way for applications to store and retrieve user and system preference and configuration data. The data is stored persistently in an implementation-dependent backing store. There are two separate trees of preference nodes, one for user preferences and one for system preferences. For more information, see the Preferences API documentation,
Other Base Packages
The java.io and java.nio packages provide a rich set of APIs for managing an application’s I/O. The functionality includes file and device I/O, object serialization, buffer management, and character-set support. Additionally, the APIs support features for scalable servers including multiplexed, non-blocking I/O, memory mapping and locks for files. For more information, see the I/O documentation.
Object Serialization
Object Serialization extends the core Java Input/Output classes with support for objects. Object Serialization supports the encoding of objects, and the objects reachable from them, into a stream of bytes; and it supports the complementary reconstruction of the object graph from the stream. Serialization is used for lightweight persistence and for communication via sockets or Remote Method Invocation (RMI). See the Object Serialization documentation for more information.
Provides classes for networking functionality, including addressing, classes for using URLs and URIs, socket classes for connecting to servers, networking security functionality, and more. See the Networking documentation for more information.
APIs for security-related functionality such as configurable access control, digital signing, authentication and authorization, cryptography, secure Internet communication, and more. See the Security documentation for more information.
Internationalization
APIs that enable the development of internationalized applications. Internationalization is the process of designing an application so that it can be adapted to various languages and regions without engineering changes. See the Internationalization documentation for more information.
JavaBeans™ Component API
Contains classes related to developing beans — components based on the JavaBeans™ architecture that can be pieced together as part of developing an application. See the JavaBeans documentation for more information.
Java Management Extensions (JMX)
The Java Management Extensions (JMX) API is a standard API for management and monitoring of resources such as applications, devices, services, and the Java virtual machine. Typical uses include consulting and changing application configuration, accumulating statistics about application behavior, and notifying of state changes and erroneous conditions. The JMX API includes remote access, so a remote management program can interact with a running application for these purposes. See the Java Management Extensions documentation for more information.
The Java platform provides a rich set of APIs for processing XML documents and data. See the Java SE XML documentation for more information.
Java Native Interface (JNI)
Java Native Interface (JNI) is a standard programming interface for writing Java native methods and embedding the Java virtual machine into native applications. The primary goal is binary compatibility of native method libraries across all Java virtual machine implementations on a given platform. See the Java Native Interface documentation for more information.
Extension Mechanism
Optional packages are packages of Java classes (and any associated native code) that application developers can use to extend the functionality of the core platform. The extension mechanism allows the Java virtual machine (VM) to use the classes of the optional extension in much the same way as the VM uses classes in the Java Platform. The extension mechanism also provides a way for needed optional packages to be retrieved from specified URLs when they are not already installed in the JDK or Runtime Environment. See the Java Extension Mechanism documentation for more information.
Endorsed Standards Override Mechanism
An endorsed standard is a Java API defined through a standards process other than the Java Community ProcessSM (JCP). Because endorsed standards are defined outside the JCP, it is anticipated that such standards may be revised between releases of the Java Platform. In order to take advantage of new revisions to endorsed standards, developers and software vendors may use the Endorsed Standards Override Mechanism to provide newer versions of an endorsed standard than those included in the Java Platform as released by Oracle. See the Endorsed Standards Override Mechanism documentation for more information.
Integration Libraries
Java Database Connectivity (JDBC) API
The JDBC™ API provides universal data access from the Java programming language. Using the JDBC 3.0 API, you developers can write applications that can access virtually any data source, from relational databases to spreadsheets and flat files. JDBC technology also provides a common base on which tools and alternate interfaces can be built. For more information, see the JDBC documentation.
Remote Method Invocation (RMI)
Remote Method Invocation (RMI) enables the development of distributed applications by providing for remote communication between programs written in the Java programming language. RMI enables an object running in one Java Virtual Machine to invoke methods on an object running in another Java VM, which may be on a different host. For more information, see the Java SE RMI documentation.
Java IDL (CORBA)
Java IDL technology adds CORBA (Common Object Request Broker Architecture) capability to the Java platform, providing standards-based interoperability and connectivity. Java IDL enables distributed Web-enabled Java applications to transparently invoke operations on remote network services using the industry standard IDL (Object Management Group Interface Definition Language) and IIOP (Internet Inter-ORB Protocol) defined by the Object Management Group. Runtime components include a Java ORB for distributed computing using IIOP communication. For more information, see the Java IDL documentation.
RMI-IIOP
Java Remote Method Invocation over Internet Inter-ORB Protocol technology The RMI Programming Model enables the programming of CORBA servers and applications via the RMI API. You can choose to work completely within the Java programming language using the Java Remote Method Protocol (JRMP) as the transport, or work with other CORBA-compliant programming languages using the Internet InterORB Protocol (IIOP). You use the rmic compiler to generate the code necessary for connecting your applications via the Internet InterORB Protocol (IIOP) to others written in any CORBA-compliant language. To work with CORBA applications in other languages, IDL can be generated from Java programming language interfaces using the rmic compiler with the -idl option. To generate IIOP stubs and tie classes, use the rmic compiler with the -iiop option. For more information, see the RMI-IIOP documentation.
Scripting for the Java Platform
Java SE includes the JSR 223: Scripting for the Java™ Platform API. This is a framework by which Java Applications can «host» script engines. Java SE includes the Nashorn Engine, which is an implementation of the EMCAScript Edition 5.1 Language Specification. The scripting framework supports third-party script engines through jar «service discovery» mechanism. It is possible to «drop» any JSR-223 compliant script engine in the CLASSPATH and access the same from your Java applications For more information, see the Scripting documentation.
Java Naming and Directory Interface™ (JNDI) API
The Java Naming and Directory Interface™ (JNDI) provides naming and directory functionality to applications written in the Java programming language. It is designed to be independent of any specific naming or directory service implementation. Thus a variety of services—new, emerging, and already deployed ones—can be accessed in a common way. The JNDI architecture consists of a API and an SPI (Service Provider Interface). Java applications use this API to access a variety of naming and directory services. The SPI enables a variety of naming and directory services to be plugged in transparently, allowing the Java application using the JNDI API to access their services. For more information, see JNDI documentation.
User Interface Libraries
Input Method Framework
The input method framework enables the collaboration between text editing components and input methods in entering text. Input methods are software components that let the user enter text in ways other than simple typing on a keyboard. They are commonly used to enter Japanese, Chinese, or Korean — languages using thousands of different characters — on keyboards with far fewer keys. However, the framework also supports input methods for other languages and the use of entirely different input mechanisms, such as handwriting or speech recognition. For more information, see the Input Method Framework documentation.
Accessibility
With the Java Accessibility API, developers can easily create Java applications that are accessible to disabled persons. Accessible Java applications are compatible with assistive technologies such as screen readers, speech recognition systems, and refreshable braille displays. For more information, see the Accessibility documentation.
Print Service
The Java™ Print Service API, allows printing on all Java platforms including those requiring a small footprint, such as a Java ME profile. For more information, see Java Print Service documentation.
Sound
The Java platform includes a powerful API for capturing, processing, and playing back audio and MIDI (Musical Instrument Digital Interface) data. This API is supported by an efficient sound engine which guarantees high-quality audio mixing and MIDI synthesis capabilities for the platform. For more information, see Java Sound documentation.
Drag and Drop Data Transfer
Drag and Drop enables data transfer both across Java programming language and native applications, between Java programming language applications, and within a single Java programming language application. For more information, see Drag and Drop Transfer.
Image I/O
The Java Image I/O API provides a pluggable architecture for working with images stored in files and accessed across the network. The API provides a framework for the addition of format-specific plugins. Plug-ins for several common formats are included with Java Image I/O, but third parties can use this API to create their own plugins to handle special formats. For more information, see Image I/O.
Java 2D™ Graphics and Imaging
The Java 2D™ API is a set of classes for advanced 2D graphics and imaging. It encompasses line art, text, and images in a single comprehensive model. The API provides extensive support for image compositing and alpha channel images, a set of classes to provide accurate color space definition and conversion, and a rich set of display-oriented imaging operators. For more information, see the Java 2D documentation.
The Java™ platform’s Abstract Windowing Toolkit (AWT) provides APIs for constructing user interface components such as menus, buttons, text fields, dialog boxes, checkboxes, and for handling user input through those components. In addition, AWT allows for rendering of simple shapes such as ovals and polygons and enables developers to control the user-interface layout and fonts used by their applications. For more information, see the AWT documentation.
Swing
The Swing APIs also provide graphical component (GUI) for use in user interfaces. The Swing APIs are written in the Java programming language without any reliance on code that is specific to the GUI facilities provided by underlying operating system. This allows the Swing GUI components to have a «pluggable» look-and-feel that can be switched while an application is running. For more information, see the Java SE Swing documentation.
JavaFX
Java SE 7 Update 2 and later includes the JavaFX SDK. The JavaFX platform is the evolution of the Java client platform designed to enable application developers to easily create and deploy rich internet applications (RIAs) that behave consistently across multiple platforms. See JavaFX Documentation for more information.
Deployment
Java Deployment
Installation, setup, updating, redistribution and related topics:
- Installation of the Java Platform on a computer
- Setting Options in the Java Control Panel
- Writing applications and applets in the Java Programming language
- Authoring web pages that invoke applets or download and launch applications
- Making Java-related files available on web servers
- Updating the Java Platform on a computer
Tool Specifications
Debugger Architecture
Architecture and specifications for use by debuggers in development environments. For more information, see the Java Platform Debugger Architecture (JPDA) documentation.
VM Tool Interface
The Java Virtual Machine Tool Interface (JVM TI) is a specification for inspecting the state and controlling the execution of applications running in the JVM. The Java Virtual Machine Profiler Interface (JVMPI) has been deprecated. For more information, see the Java Virtual Machine Tool Interface (JVM TI) documentation.
Javadoc Tool
Javadoc is a tool that parses the declarations and documentation comments source files to produce a set of HTML pages describing the program elements. The Doclet API provides a mechanism for clients to inspect the source-level structure of programs and libraries, including Javadoc comments embedded in the source. This API can be used by doclets to generate documentation. For more information, see the Javadoc documentation.
Dynamic Attach
The package com.sun.tools.attach contains an Oracle extension to the Java Platform that allows an application to attach to a running Java virtual machine. Once the attach has been made, a tool agent can be started in the target virtual machine. For more information, see the attach documentation.
JConsole API
The package com.sun.tools.jconsole contains an Oracle extension to the Java Platform that provides a programmatic interface to access JConsole. For more information, see Using JConsole.
JDK Tools & Utilities
Documentation for the tools and utilities included in the JDK. Covers basic tools (javac, java, javadoc, apt, appletviewer, jar, jdb, javah, javap, extcheck), security tools, internationalization tools, RMI tools, IDL and RMI-IIOP tools, deployment tools, Java Plug-in tools, and Java Web Start tools, monitoring and management tools, and troubleshooting tools. For more information, see the JDK Tools and Utilities documentation.
Platforms
Oracle provides implementations of the JDK and Java Runtime Environment for Microsoft Windows, Linux, and the Solaris operating systems. See System Configurations for information about which versions of these platforms are supported.
Other companies may provide implementations of the Java platform for other operating systems such as Macintosh, AIX, etc.
. как установить Java?
Во многих моих тренингах так или иначе используется Java, либо как язык программирования для разработки автотестов, либо как среда для запуска приложений, написанных на Java.
Поэтому я решил описать процедуру установки Java, а также некоторые нюансы настройки Java после установки, которые могут приводить к проблемам при запуске приложений, написанных на Java.
Пять лет назад я уже писал такую инструкцию, но с тех пор накопилось много изменений как в Java, так и в операционных системах, так что пришло время для реновации.
Что устанавливать, JRE или JDK?
Существует две разновидности дистрибутива Java — для простых пользователей и для разработчиков:
- Java Runtime Environment, или JRE — это виртуальная машина, позволяющая запускать приложения, написанные на языке программирования Java;
- Java Development Kit, или JDK — это набор инструментов для разработки программ на языке программирования Java (компилятор, архиватор, генератор документации и прочие). JRE разумеется является частью дистрибутива JDK.
Правило очень простое:
- если вы собираетесь что-нибудь писать на языке программирования Java, значит вам нужен JDK;
- если вы собираетесь только запускать готовые программы — тогда достаточно JRE.
Какую версию выбрать?
Релизы Java выходят раз в полгода (не считая мелких обновлений). Но не стоит гнаться за новизной. Если вы установите Java последней версии, приготовьтесь к тому, что не все приложения будут хорошо работать с ней. Новые недавно добавленные возможности иногда приводят к проблемам совместимости.
Лучше всего посмотреть статистику и выбрать то, что использует большинство. Давайте посмотрим статистику за 2019 год:
- Раз: The State of Java Developer Ecosystem in 2019
- Два: The State of Java in 2019
- Три: 2020 Java Technology Report
В сентябре 2019 года вышла версия 13, в марте 2020 года выйдет версия 14, но при этом большинство продолжает использовать Java 8!
Я не собираюсь здесь обсуждать причины этого явления, но факт есть факт — это самая распространённая версия по состоянию на конец 2019 года. Поэтому если вы хотите максимальной стабильности и совместимости — в 2020 году берите Java 8.
Второе место по популярности занимает Java 11, это так называемый релиз с долгосрочной поддержкой (Long Term Support, LTS), ориентированный на корпоративных пользователей, для которых стабильность важнее новых фич.
Поддержка Java 8 официально прекращается в декабре 2020 года, к этому времени все корпоративные пользователи будут вынуждены перейти на Java 11. Но вы уже сейчас, не дожидаясь конца 2020 года, можете смело брать эту версию, она обеспечит комфортное соотношение достаточной новизны и не очень высокого риска. А если что-то не будет работать — можно установить рядом Java 8 для использования со старыми приложениями.
Выбирая из 32-битной и 64-битной версий, берите 64-битную, если ваша операционная система это позволяет.
Где взять?
Java это не только язык программирования, но и спецификация, как самого языка, так и среды исполнения программ, написанных на этом языке. Причем это открытая спецификация, поэтому может существовать, и существует, много разных её реализаций, в том числе проприетарных.
Большинство бесплатных реализаций (а может быть даже все) базируются на общем коде, который разрабатывается совместными усилиями вендоров в рамках проекта OpenJDK.
К этому общему коду каждый вендор дописывает свой инсталлятор (со своим логотипчиком), а также может добавлять какие-то дополнительные библиотеки (такие как, например, библиотека для создания графических пользовательких интерфейсов OpenJFX) или утилиты (например, средства мониторинга).
Лично я отдаю предпочтение сборке Azul Zulu, но вы можете выбрать какую-нибудь другую.
Как установить?
На примере сборки Azul Zulu.
В операционной системе Windows:
- выберите сборку и версию, как описано в предыдущих разделах;
- загрузите инсталлятор (файл с расширением .msi );
- запустите инсталлятор и следуйте инструкциям на экране.
В операционной системе Linux:
- выберите сборку и версию, как описано в предыдущих разделах;
- загрузите пакет (файл с расширением .deb или .rpm );
- в консоли выполните команду
sudo apt install <путь к загруженному deb-файлу>
либо
sudo rpm -i <путь к загруженному rpm-файлу>
В операционной системе MacOS:
- выберите сборку и версию, как описано в предыдущих разделах;
- загрузите образ диска (файл с расширением .dmg );
- откройте загруженный образ диска;
- запустите находящийся внутри него инсталлятор и следуйте инструкциям на экране.
Как проверить правильность установки?
В операционной системе Windows нужно запустить консоль ( cmd ) и выполнить команду where java , которая должна показать правильный путь до исполняемого файла java.exe , а также после этого выполнить команду java -version для проверки того, что это именно та версия, которую вы устанавливали:
В операционной системе Linux и MacOS нужно запустить консоль и выполнить команду which java , которая должна показать правильный путь до исполняемого файла java (скорее всего это будет /usr/bin/java ), а также после этого выполнить команду java -version для проверки того, что это именно та версия, которую вы устанавливали:
Что ещё надо сделать?
Инсталлятор Java выполняет минимальную необходимую настройку окружения, в том числе он добавляет в переменную среды PATH путь к директории, которая содержит исполняемые файлы Java (в операционной системе Windows), либо создаёт в стандартной директории для исполняемых файлов символические ссылки на установленные исполняемые файлы Java (в других операционных системах).
Но некоторые программы вместо этого используют переменную среды JAVA_HOME , которая должна указывать на директорию, в которую установлена Java. Поэтому на всякий случай можно сразу установить эту переменную.
Для этого надо научиться определять, куда установлена Java.
В операционной системе Windows путь к директории установки можно увидеть, выполнив команду where java в консоли. Например, если вы установили сборку Zulu JDK версии 8, эта команда вернёт значение C:\Program Files\Zulu\zulu-8\bin\java.exe , а в переменную JAVA_HOME нужно установить значение C:\Program Files\Zulu\zulu-8 .
В операционной системе Linux нужно посмотреть, куда указывает символическая ссылка java , это можно сделать командой readlink -f $(which java) . Например, если вы установили сборку Zulu JDK версии 8, эта команда вернёт значение /usr/lib/jvm/zulu-8-amd64/jre/bin/java , а в переменную JAVA_HOME нужно установить значение /usr/lib/jvm/zulu-8-amd64/jre . Чтобы эта переменная среды устанавливалась автоматически при входе в систему, можно в файл
/.profile добавить строчку export JAVA_HOME=$(readlink -f $(which java) | sed «s:/bin/java::») .
В операционной системе MacOS есть специальная команда /usr/libexec/java_home , которая возвращает нужный путь. Например, если вы установили сборку Zulu версии 8, эта команда вернёт значение /Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home , именно это значение и нужно установить в переменную JAVA_HOME . Чтобы эта переменная среды устанавливалась автоматически при входе в систему, можно в файл
/.profile добавить строчку export JAVA_HOME=$(/usr/libexec/java_home) .
А если вы собираетесь писать код на языке программирования Java, информация о расположении Java пригодится при настройке среды разработки.
Автор: Алексей Баранцев
Если вам понравилась эта статья, вы можете поделиться ею в социальных сетях (кнопочки ниже), а потом вернуться на главную страницу блога и почитать другие мои статьи.
Ну а если вы не согласны с чем-то или хотите что-нибудь дополнить – оставьте комментарий ниже, может быть это послужит поводом для написания новой интересной статьи.
Java SE Runtime Environment / Development Kit
JDK 20 будет получать обновления до сентября 2023 года, когда он будет заменен JDK 21. Бинарные файлы JDK 20 можно свободно использовать в производстве и бесплатно распространять в соответствии с Условиями и положениями Oracle No-Fee.
Новое в версии Java SE Development Kit 20.0.1 (18.04.2023)
Oracle выпустила Java SE 20 после шести месяцев разработки, используя проект OpenJDK в качестве эталонной реализации. Обратная совместимость сохранена, за исключением удаления некоторых устаревших возможностей. Сборки JDK, JRE и Server JRE доступны для Linux, Windows и macOS. Реализация Java 20 полностью открыта под лицензией GPLv2 с исключениями GNU ClassPath. Java SE 20 является выпуском с обычным сроком поддержки, обновления будут выпускаться до следующего релиза. Ветка с длительным сроком поддержки (LTS) — Java SE 17. Проект Java перешел на новый процесс разработки с более коротким циклом формирования релизов, начиная с Java 10.
Ключевые нововведения Java SE 20:
- Поддержка ограниченных значений (Scoped Values). Java SE 20 предлагает предварительную поддержку ограниченных значений, которые позволяют совместно использовать неизменяемые данные между потоками и эффективно обмениваться данными между дочерними потоками. Scoped Values разрабатываются для замены переменных локальных к потоку (thread-local variables) и предоставляют большую эффективность при работе с большим количеством виртуальных потоков.
- Шаблоны записей (record pattern). Java SE 20 включает вторую предварительную реализацию шаблонов записей, расширяющую сопоставление с образцом для классов типа record. Это упрощает разбор значений таких классов и делает код более читаемым и лаконичным.
- Сопоставление по шаблону в выражениях «switch». Java SE 20 предлагает четвёртую предварительную реализацию сопоставления по шаблону в выражениях «switch». Это позволяет использовать гибкие шаблоны вместо точных значений в метках «case», облегчая работу с группами значений и упрощая код.
- API FFM (Foreign Function & Memory). Java SE 20 представляет вторую предварительную реализацию API FFM для взаимодействия Java-программ с внешним кодом и данными. Это позволяет вызывать функции из внешних библиотек и осуществлять доступ к памяти вне JVM, облегчая интеграцию с различными системами и платформами.
- Виртуальные потоки. Java SE 20 предлагает вторую предварительную реализацию виртуальных потоков — легковесных потоков, которые упрощают разработку и сопровождение высокопроизводительных многопоточных приложений.
- API для структурированного параллелизма. В Java SE 20 добавлен второй вариант экспериментального API для структурированного параллелизма. Этот API упрощает разработку многопоточных приложений путем обработки нескольких задач, выполняемых в разных потоках, как единого блока. Это позволяет создавать более надежные и производительные параллельные алгоритмы.
- API Vector. Java SE 20 включает пятую предварительную реализацию API Vector, предоставляющего функции для векторных вычислений. Эти вычисления используют векторные инструкции процессоров x86_64 и AArch64, позволяя одновременно применять операции к нескольким значениям (SIMD). В отличие от автовекторизации скалярных операций, предоставляемых JIT-компилятором HotSpot, новый API позволяет разработчикам явно управлять векторизацией для параллельной обработки данных, что может привести к улучшению производительности.
Новое в Java SE 17 LTS
JDK 17 будет получать обновления до сентября 2024 года, через год после выпуска следующей LTS. Бинарные файлы JDK 17 можно свободно использовать в производстве и бесплатно распространять в соответствии с Условиями и положениями Oracle No-Fee.
Новое в версии Java SE Development Kit 17.0.7 LTS (18.04.2023)
Java 17 LTS – это последний выпуск долгосрочной поддержки для платформы Java SE.
Новое в Java SE 11 LTS
Подписчики Java SE будут получать обновления JDK 11 как минимум до сентября 2026 года.
Новое в версии Java SE Development Kit 11.0.19 (18.05.2023)
Новое в Java SE 8
Подписчики Java SE будут получать обновления JDK 8 как минимум до декабря 2030 года.
Новое в версии Java SE Runtime Environment 8u371 (18.04.2023)
Системные требования
Системные требования Java Runtime Environment 8
Windows
- Windows 11 (только 64 bit) 8u311 или более поздняя)
- Windows 10 (8u51 или более поздняя)
- Windows 8.x (настольная версия)
- Windows 7 с пакетом обновления 1 (SP1)
- Windows Vista SP2
- Windows Server 2022
- Windows Server 2019
- Windows Server 2016
- Windows Server 2012 R2
- Windows Server 2012
- Windows Server 2008 R2 SP
- Браузеры: Internet Explorer 9 и выше, Microsoft Edge, Firefox, Chrome
macOS
- macOS 12 (8u311 и выше)
- macOS 11 (8u281 и выше)
- OS X 10.9 и выше
- OS X 10.8.3 и выше
- Привилегии администратора для установки
- 64-битный браузер
- Для запуска Oracle Java на macOS требуется 64-битный браузер (например, Safari).
Для запуска Oracle Java для Mac OS X требуется 64-разрядный браузер (например, Safari или Firefox).
Linux
- Oracle Linux 8 (1) (8u221 и выше)
- Oracle Linux 7 (64-бит) (2) (8u20 и выше)
- Oracle Linux 6 (32-бит и 64-бит) (2)
- Oracle Linux 5.5+ (1)
- Red Hat Enterprise Linux 8 (8u221 и выше)
- Red Hat Enterprise Linux 7 (64-бит)(2) (8u20 и выше)
- Red Hat Enterprise Linux 6 (32-бит и 64-бит)(2)
- Red Hat Enterprise Linux 5.5+ (1)
- Suse Linux Enterprise Server 15 (8u201 и выше)
- Suse Linux Enterprise Server 12 (64-бит) (2) (8u31 и выше)
- Suse Linux Enterprise Server 11 (32-разрядный и 64-разрядный)
- Suse Linux Enterprise Server 10 SP2+ (32-бит и 64-бит)
- Ubuntu Linux 21.04 (8u291 и выше)
- Ubuntu Linux 20.10 (8u271 и выше)
- Ubuntu Linux 20.04 LTS (8u261 и выше)
- Ubuntu Linux 19.10 (8u241 и выше)
- Ubuntu Linux 19.04 (8u231 и выше)
- Ubuntu Linux 18.10 (8u191 и выше)
- Ubuntu Linux 18.04 LTS (8u171 и выше)
- Ubuntu Linux 17.10 (8u151 и выше)
- Ubuntu Linux 17.04 (8u131 и выше)
- Ubuntu Linux 16.10 (8u131 и выше)
- Ubuntu Linux 16.04 LTS (8u102 и выше)
- Ubuntu Linux 15.10 (8u65 и выше)
- Ubuntu Linux 15.04 (8u45 и выше)
- Ubuntu Linux 14.10 (8u25 и выше)
- Ubuntu Linux 14.04 LTS (8u25 и выше)
- Ubuntu Linux 13
- Ubuntu Linux 12.04 LTS
- (1) – Нет поддержки JavaFX
- (2) – Поддерживается только 64-битная JRE
Полезные ссылки
Также посмотрите
Подробное описание
Java Runtime Environment (JRE) предоставляет библиотеки, виртуальную машину Java и другие компоненты для запуска апплетов и приложений, написанных на языке программирования Java.
Дополнительно JRE включает две ключевые технологии развертывания: Java Plug-in, который позволяет запускать апплеты в популярных браузерах, и Java Web Start, которая позволяет развертывать автономных приложений в сети.
Здесь размещены официальные ссылки для загрузки Java Runtime Environment для 32-разрядных и 64-разрядных операционных систем Windows и приложений.
Описание разработчика Java Runtime Environment
На сегодняшний день платформа Java привлекла более 9 миллионов разработчиков программного обеспечения. Она используется во всех главных сегментах индустрии, а также в широком диапазоне устройств, компьютеров и сетей.
Универсальность, эффективность, портативность платформ и безопасность технологии Java делают эту технологию идеальным выбором для сетевых вычислений. От портативных компьютеров до центров сбора данных, от игровых консолей до суперкомпьютеров, используемых для научных разработок, от сотовых телефонов до сети Интернет.
На основе технологий Java работают приставки, принтеры, веб-камеры, игры, навигационные системы для автомобилей, терминалы для проведения лотерей, медицинские устройства, автоматы для оплаты парковки и многое другое.
Java Runtime Environment для Windows
Java Runtime Environment (JRE) — программное обеспечение необходимое для запуска веб-сайтов и приложений, созданных с помощью языка программирования Java, на котором написано множество программ и игр, особенно тех, для которых важна мобильность. Состоит из виртуальной машины и библиотеки Java-классов.
Позволяет играть в сетевые игры, общаться с людьми по всему миру, подсчитывать проценты по ипотечным кредитам и просматривать трехмерные изображения. Java обеспечивает быстродействие, безопасность и надежность.
- Исправлены ошибки.
Microsoft .NET Framework — набор библиотек и системных компонентов, которые необходимы для работы приложений, основанных на архитектуре .NET Framework.
Microsoft .NET Framework — набор библиотек и системных компонентов, наличие которых является.
Microsoft .NET Framework — набор библиотек и системных компонентов, наличие которых является.
Java Runtime Environment (JRE) — среда выполнения приложений написанных на языке программирования Java.
Microsoft .NET Framework — Набор компонентов, позволяющих запускать приложения, основанных на архитектуре .NET Framework.
Универсальная платформа разработки с открытым исходным кодом, которая предлагает.
Отзывы о программе Java Runtime Environment
Дема про Java Runtime Environment 8.0.251 [18-06-2021]
(шёпотом) для winXP есть jre 8u73
| 1 | Ответить
Дмитрий про Java Runtime Environment 8.0.201 [20-05-2020]
Восьмая JAVA с XP не работает
Нужна 7-ая, а лучше 6-ая
1 | | Ответить
Minecrafter2002 про Java Runtime Environment 8.0.201 [11-10-2019]
Сучий майнкрафт не работает. помогите JAVA 2002 всё.
5 | 6 | Ответить
raspberry73 про Java Runtime Environment 8.0.77 [17-08-2016]
mamelissa, спасибо большое за подсказку, я то все время думала, почему эти зараженные страницы открываются, а это java был виноват.
2 | 5 | Ответить
Ольга Ивановна про Java Runtime Environment 8.0.72 [29-01-2016]
подскажите, пожалуйста, мне, малограмотному человеку, — на моем компе стоит ява 32 bit, а комп 64, подойдет ли эта программа, или надо искать для 64?
14 | 21 | Ответить