Linux Apps Tutorials - Herong's Tutorial Examples
∟OpenJDK - Open-Source JDK
This chapter provides introductions and tutorial examples on OpenJDK. Topics include installing and upgrading OpenJDK JRE and JDK packages; using 'update-alternatives' command to update symbolic links for default commands; compiling and running Java programs.
Install and Manage OpenJDK on CentOS
Upgrade OpenJDK on CentOS
First Java Program - Hello.java
Takeaways:
- OpenJDK 1.8 JRE package is pre-installed on CentOS 8 systems.
- The JDK package "*-openjdk-devel", needs to be installed,
if you want to use the Java compiler and other development tools.
- OpenJDK 17 is available for CentOS 8 systems and can be installed
using the "dnf/yum" command.
- "java" command is provided in the JRE package to run a compiled Java program.
- "javac" command is provided in the JDK package to compile a Java program.
- "update-alternatives" command is a symbolic link manager to update default
commands like "java" and "javac".
Table of Contents
About This Book
Introduction to Linux Systems
Process Management
Files and Directories
Running Apache HTTP Server (httpd) on Linux Systems
Running Apache Tomcat on Linux Systems
Running PHP Scripts on Linux Systems
Running MySQL Database Server on Linux Systems
Running Python Scripts on Linux Systems
Conda - Environment and Package Manager
GCC - C/C++ Compiler
►OpenJDK - Open-Source JDK
Graphics Environments on Linux
SquirrelMail - Webmail in PHP
Tools and Utilities
References
Full Version in PDF/EPUB