+5 votes
63 views
Install JAVA on Arch Linux

in Linux / Unix by (414k points)
reopened | 63 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 (2.6m points)

Related questions

+4 votes
1 answer
asked Jun 24, 2019 in Linux / Unix by backtothefuture (414k points) | 106 views
+5 votes
1 answer
asked Jul 6, 2020 in Linux / Unix by backtothefuture (414k points) | 214 views
+3 votes
1 answer
asked May 8 in Linux / Unix by backtothefuture (414k points) | 56 views
+3 votes
1 answer
asked Nov 6, 2020 in Linux / Unix by backtothefuture (414k points) | 454 views
+4 votes
1 answer
asked Mar 19, 2020 in Linux / Unix by backtothefuture (414k points) | 818 views
7,907 questions
8,007 answers
404 comments
2 users