Java sdk download linux

Java sdk download linux

This topic describes the installation procedures of the JDK on the Linux platform, along with the system requirements.

General Notes About Installing the JDK on Linux Platforms

This topic describes general information about installing JDK 11 on Linux platforms.

Installing the JDK automatically creates a directory called jdk– 11 . interim.update.patch .

If you install Java SE Runtime Environment in a specific location such as /usr/jdk (for JDK) then you must log in with root credentials to gain the necessary permissions. If you do not have root access, then either install the Java SE Runtime Environment in your home directory or a subdirectory for which you have write permissions.

If you install the software in a directory that contains a subdirectory named jdk– 11 . interim.update.patch , then the new software overwrites files of the same name in that directory. Ensure that you rename the old directory if it contains files that you would like to keep.

By default, the installation script configures the system such that the backing store for system preferences is created inside the JDK installation directory as applicable. If the JDK is installed on a network-mounted drive, then the system preferences can be exported for sharing with Java runtime environments on other machines.

System Requirements for Installing JDK on Linux Platforms

See Oracle JDK Certified Systems Configurations for information about supported platforms, operating systems, and browsers.

JDK Installation Instruction Notation for Linux Platforms

Instructions for installing JDK contains a version notation that represents the Feature, Interim, and Update version information.

For example, if you are installing JDK 11 Interim 0, Update 0, and Patch 0, then the following string represents the name of the bundle:

Linux x64 systems: jdk- 11 . interim.update.patch _linux-x64_bin.tar.gz

Linux aarch64 (64-bit ARM) systems: jdk- 11 . interim.update.patch _linux-aarch64_bin.tar.gz

If a component has 0 as the suffix, it will be excluded.

Installing the JDK on Linux from Archive Files and RPM Packages

You can install the Java Development Kit (JDK) on a Linux platform from archive files or from Red Hat Package Manager (RPM) packages.

Installation can be performed by using one of the following processes:

From archive files ( .tar.gz ): This allows you to install a private version of the JDK for the current user into any location, without affecting other JDK installations. However, it may involve manual steps to get some of the features to work. See the following table for the options available for downloading and installing the JDK from archive files. The bundles are available for Linux x64 and Linux aarch64 (64-bit ARM) systems. Install the required bundle.

Читайте также:  Htc windows phone 8s тех характеристики

From RPM packages ( .rpm ): This allows you to perform a systemwide installation of the JDK for all users, and requires root access. See the following table for the options available for downloading and installing the JDK from Linux x64 and Linux aarch64 (64-bit ARM) RPM packages.

Downloading the JDK Installer

Access Java SE Downloads page and click Accept License Agreement . Under the Download menu, click the Download link corresponding your requirement.

The following table lists the options and instructions for downloading and installing the JDK 11 release on a Linux platform:

Download File Instructions Architecture (CPU Type) Who Can Install
For Linux x64 systems: jdk- 11 . interim.update.patch _linux-x64.tar.gz Installing the 64-Bit JDK 11 on Linux Platforms Intel — 64-bit Anyone
For Linux aarch64 (64-bit ARM) systems: jdk- 11 . interim.update.patch _linux-aarch64.tar.gz Installing the 64-Bit JDK 11 on Linux Platforms ARM — 64-bit Anyone
For Linux x64 systems: jdk- 11 . interim.update.patch _linux-x64.rpm Installing the 64-Bit JDK on RPM-Based Linux Platforms Intel — 64-bit RPM-based Linux Root
For Linux aarch64 (64-bit ARM) systems: jdk- 11 . interim.update.patch _linux-aarch64.rpm Installing the 64-Bit JDK on RPM-Based Linux Platforms ARM — 64-bit RPM-based Linux Root

Installing the 64-Bit JDK 11 on Linux Platforms

You can install the JDK for 64-bit Linux from an archive file ( .tar.gz ). The .tar.gz archive file (also called a tarball) is a file that can be uncompressed and extracted in a single step.

  • For Linux x64 systems: jdk- 11 . interim.update.patch _linux-x64_bin.tar.gz
  • For Linux aarch64 (64-bit ARM) systems: jdk- 11 . interim.update.patch _linux-aarch64_bin.tar.gz

Before you download a file, you must accept the license agreement. Anyone (not only root users) can install the archive file in any location having write access.

$ tar zxvf jdk- 11 . interim.update.patch _linux-x64_bin.tar.gz

$ tar zxvf jdk- 11 . interim.update.patch _linux-aarch64_bin.tar.gz

The Java Development Kit files are installed in a directory called jdk- 11 . interim.update.patch .

Installing the 64-Bit JDK on RPM-Based Linux Platforms

You can install the JDK on 64-bit RPM-based Linux platforms, such as Oracle, Red Hat, and SuSE by using an RPM binary file ( .rpm ) in the system location.

  • For x64 systems: jdk- 11 . interim.update.patch _linux-x64_bin.rpm
  • For aarch64 (64-bit ARM) systems: jdk- 11 . interim.update.patch _linux-aarch64_bin.rpm

Before you download a file, you must accept the license agreement.

$ rpm -ivh jdk- 11 . interim.update.patch _linux-x64_bin.rpm

$ rpm -ivh jdk- 11 . interim.update.patch _linux-aarch64_bin.rpm

JDK 11 can coexist with earlier versions of JDK. For each version, a new directory is created, the default directory being /usr/java/jdk- 11 . interim.update.patch .

Upgrade the required package using the following command:

$ rpm -Uvh jdk- 11 . interim.update.patch _linux-x64_bin.rpm

$ rpm -Uvh jdk- 11 . interim.update.patch _linux-aarch64_bin.rpm

The JDK installation is integrated with the alternatives framework. After installation, the alternatives framework is updated to reflect the binaries from the recently installed JDK. Java commands such as java , javac , javadoc , and javap can be called from the command line.

Using the java -version command, users can confirm the default (recently installed) JDK version.

In addition, users can check which specific RPM package provides the java files:

Источник

Java Archive

The Oracle Java Archive offers self-service download access to some of our historical Java releases

WARNING: These older versions of the JRE and JDK are provided to help developers debug issues in older systems. They are not updated with the latest security patches and are not recommended for use in production.

For production use Oracle recommends downloading the latest JDK and JRE versions and allowing auto-update.

Only developers and enterprise administrators should download these releases.

Downloading these releases requires an oracle.com account. If you don’t have an oracle.com account you can create one here.

For current Java releases, please visit Oracle Java SE Downloads.

Current update releases for JDK 7 is available for support customers.

For more information on the transition of products from the legacy Sun download system to the Oracle Technology Network, visit the SDLC Decommission page announcement.

Previous Java releases

Java SE

Java Client Technologies
Java 3D, Java Access Bridge, Java Accessibility, Java Advanced Imaging, Java Internationalization and Localization Toolkit, Java Look and Feel, Java Media Framework (JMF), Java Web Start (JAWS), JIMI SDK

Java Platform Technologies
Java Authentication and Authorization Service (JAAS), JavaBeans, Java Management Extension (JMX), Java Naming and Directory Interface, RMI over IIOP, Java Cryptography Extension (JCE), Java Secure Socket Extension

Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files
The Java Cryptography Extension enables applications to use stronger versions of cryptographic algorithms. JDK 9 and later offer the stronger cryptographic algorithms by default.

The unlimited policy files are required only for JDK 8, 7, and 6 updates earlier than 8u161, 7u171, and 6u181. On those versions and later, the stronger cryptographic algorithms are available by default.

Java Database
Java DB Connectivity (JDBC), Java Data Objects (JDO)

Misc. tools and libraries
Sample Code for GSSAPI/Kerberos, Java Communications API

Java SE downloads

Java EE

Java EE SDK
Java Application Platform SDK, Java EE SDK, Samples

GlassFish Server
GlassFish, Sun Java System Application Server, IDE Toolkit, Java Application Verification Kit (AVK) for Enterprise, Project Metro Web Services

Java EE Documentation
First Cup, Javadocs, Tutorials, Demos, Blueprints

Java EE Platform
J2EE Application Deployment, J2EE Client Provisioning, J2EE Connector Architecture, J2EE Deployment, J2EE Management, Java API for XML, Java Messaging Service (JMS), Java Servlet, Java Transaction Service (JTS), JavaMail, JavaServer Faces, Struts and Core J2EE

Java ME

DVB, J2ME Connected Limited Device Configuration (CLDC), J2ME Mobile Information Device Profile (MIDP), Java Card, Mobile Media API Emulator (MMAPI), Java ME SDK, Java TV, OCAP Sun Specification, Project Lightweight UI Toolkit, Security and Trust Services API for J2ME (SATSA), Wireless Toolkit, Documentation and Exclusion List Installer

Источник

Java Downloads

Looking for other Java downloads?

Java 17 available now

Java 17 LTS is the latest long-term support release for the Java SE platform. JDK 17 binaries are free to use in production and free to redistribute, at no cost, under the Oracle No-Fee Terms and Conditions License.

JDK 17 will receive updates under these terms, until at least September 2024.

Java SE Development Kit 17 downloads

Thank you for downloading this release of the Java™ Platform, Standard Edition Development Kit (JDK™). The JDK is a development environment for building applications and components using the Java programming language.

The JDK includes tools for developing and testing programs written in the Java programming language and running on the Java platform.

Product/file description File size Download
Arm 64 Compressed Archive 170.95 MB
x64 Compressed Archive 172.19 MB
Product/file description File size Download
Arm 64 Compressed Archive 166.72 MB
x64 Compressed Archive 169.24 MB

JDK 17 Script-friendly URLs

The URLs listed above will remain the same for all JDK 17 updates to allow their use in scripts.

Release information

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 16.0.2

Thank you for downloading this release of the Java™ Platform, Standard Edition Development Kit (JDK™). The JDK is a development environment for building applications and components using the Java programming language.

The JDK includes tools useful for developing and testing programs written in the Java programming language and running on the Java platform.

Product/file description File size Download
x64 Compressed Archive 170.64 MB
Product/file description File size Download
ARM 64 RPM Package 144.87 MB
ARM 64 Compressed Archive 160.73 MB
x64 Compressed Archive 170.04 MB
Product/file description File size Download
x64 DMG Installer 166.6 MB
x64 Compressed Archive 167.21 MB
Product/file description File size Download
x64 Installer 150.58 MB
x64 Compressed Archive 168.8 MB

Release information

Java SE Development Kit 11.0.12

Java SE subscribers will receive JDK 11 updates until at least September of 2026.

These downloads can be used for development, personal use, or to run Oracle licensed products. Use for other purposes, including production or commercial use, requires a Java SE subscription or another Oracle license.

Product/file description File size Download
ARM 64 Debian Package 145.98 MB
ARM 64 Compressed Archive 169.92 MB
x64 Compressed Archive 173.86 MB
Product/file description File size Download
x64 DMG Installer 167.69 MB
x64 Compressed Archive 168.19 MB
Product/file description File size Download
SPARC Compressed Archive 184.5 MB
Product/file description File size Download
x64 Installer 151.83 MB
x64 Compressed Archive 171.27 MB

Release information

Java SE Development Kit 8u301

Java SE subscribers will receive JDK 8 updates until at least December of 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 Subscription.

Источник

Читайте также:  Клавиатура для windows с подсказками
Оцените статью