![]() Step 1 : Update your OS sudo apt update Step 2: Install JDKīased on your requirement you can install JDK 8 or JDK 11. ![]() Java installation on Ubuntu using Package Managerįor ubuntu the package manager is apt. ![]() Here we will see Java installation on Ubuntu in both way (package manager & archive method). Using archive – in this case we need to download the required JDK binaries file and then install it.Using package manager – in this case we use the package manager (e.g., apt, yum etc.).In this article we will see Java installation on Ubuntu, RHEL, CentOS.įor any Linux OS, Java can be installed in multiple ways. Inside JDK, we have JRE (Java Runtime Environment) and inside JRE we have JVM (Java Virtual Machine). And when we install java on any machine, we don’t install only Java. When it comes to running all those Java based applications, they require Java to be installed as a prerequisite. Tech companies use Java to develop various software (e.g., web servers). Using java we can develop mobile application, web application, enterprise application, normal Java application etc. Java is an object-oriented programming language. Java installation on RHEL & CentOS using Archive Introduction.Java installation on RHEL & CentOS using Package Manager.Step 4: Reload the /etc/environment file.Step 3: Set the JAVA_HOME in /etc/environment file.Java installation on Ubuntu using Archive.Step 3: Reload the /etc/environment file. ![]() Java installation on Ubuntu using Package Manager. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |