Home  >  Article  >  Operation and Maintenance  >  Does linux come with jdk?

Does linux come with jdk?

尊渡假赌尊渡假赌尊渡假赌
尊渡假赌尊渡假赌尊渡假赌Original
2023-07-05 18:03:22994browse

Linux system does not come with jdk. Oracle JDK is a copyright-protected software and needs to follow Oracle's licensing terms. Therefore, developers and maintainers of Linux distributions often cannot include Oracle JDK directly into the operating system. However, most Linux distributions will provide OpenJDK as the default Java development tool and runtime environment.

Does linux come with jdk?

The operating system of this tutorial: Linux5.18.14 system, Dell G3 computer.

Linux operating systems usually do not come with Oracle JDK (Java Development Kit) by default. This is due to copyright and licensing restrictions on Java development tools and runtime environments.

Since Oracle JDK is a copyrighted software, it needs to follow Oracle's licensing terms. Therefore, developers and maintainers of Linux distributions often cannot include the Oracle JDK directly in the operating system.

However, most Linux distributions will provide OpenJDK (Open Java Development Kit) as the default Java development tool and runtime environment. OpenJDK is a free, open source JDK implementation developed and maintained by the community.

OpenJDK and Oracle JDK are almost identical in functionality and syntax, so for most users, OpenJDK can meet daily Java development and operation needs. If you specifically need to use Oracle JDK, you can download it from Oracle's official website and install it manually.

It should be noted that specific Linux distributions may have their own package managers and software repositories. You can use these tools to install, manage and update Java development tools and runtime environments.

The above is the detailed content of Does linux come with jdk?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn