+5 votes
176 views
Install JAVA on Arch Linux

in Linux / Unix by (552k points)
reopened | 176 views

1 Answer

+3 votes
Best answer

How to install Java on Arch Linux

Java has been developed for years as a technology for the development of applications that can be accessed from the web and Java offers the developer different options and usage characteristics.
Java integrates with plugins such as:

  • Java Runtime Environment (JRE) which is added when installing Java in the default operating system
  • JRE which is integrated with Java Virtual Machine (JVM), contains different classes from the core of the Java platform as well as the platform libraries
  • JRE which is a component that acts on the Java software runtime for use on the network

 

 

The essential components as such are JRE which is a set of software applications for the implementation of Java applications and JDK which is a development environment for the construction and compilation of Java applications. This is why TechnoWikis will explain how to install these two components in Arch Linux step by step..

 

 

To stay up to date, remember to subscribe to our YouTube channel!   SUBSCRIBE

 

 

How to install Java on Arch Linux

 

Step 1

The first thing will be to check the Java version with the command:
 java -version 
image

 

Step 2

We see that Java is not installed, now we are going to list the available versions of the JRE with the command:
 pacman -sS java | grep jre 
image

 

Step 3

After this we will install the most recent version of JRE:
 pacman -S jre-openjdk 
image

 

Step 4

We apply the changes by entering the letter Y:

 

image

 

Step 5

At the end of this process we will see the following:

 

image

 

Step 6

Now we are going to list the JDK versions
 pacman -sS java | grep jdk 
image

 

Step 7

We will install the latest version of JDK with the command:
 pacman -S jdk-openjdk 
image

 

Step 8

We apply the changes by entering the letter Y:

 

image

 

Step 9

We validate the Java version with the command:
 java -version 
image

 

We see that we now have the latest version of Java on Arch Linux.

 


by (3.5m points)

Related questions

+4 votes
1 answer
asked Jun 24, 2019 in Linux / Unix by backtothefuture (552k points) | 190 views
+5 votes
1 answer
asked Jul 6, 2020 in Linux / Unix by backtothefuture (552k points) | 334 views
+3 votes
1 answer
asked May 8, 2021 in Linux / Unix by backtothefuture (552k points) | 350 views
+3 votes
1 answer
asked Nov 6, 2020 in Linux / Unix by backtothefuture (552k points) | 800 views
+4 votes
1 answer
asked Mar 19, 2020 in Linux / Unix by backtothefuture (552k points) | 964 views
Sponsored articles cost $40 per post. You can contact us via Feedback

Most popular questions within the last 30 days

10,659 questions
10,791 answers
510 comments
3 users