![]() To load the added configuration by using the ‘source’ command. ![]() To configure the environments variables to Apache Maven files, you need to create file ‘maven.sh’ in the ‘/etc/profile.d’ directory # cd /etc/profile.d/Īdd the following configuration in maven.sh file export M2_HOME=/usr/local/src/apache-maven package to directory /usr/local/src # cd /usr/local/srcĪfter that, extract downloaded file using following command. Please download Apache maven from its official website or use following link to download Maven 3.5.4. OpenJDK 64-Bit Server VM (build 25.201-b09, mixed mode) OpenJDK Runtime Environment (build 1.8.0_201-b09) If installation is success, you see the following output. # yum install -y java-1.8.0-openjdk-devel So, please install the java software package “java-1.8.0-openjdk-devel “on this server. ![]() The apache Maven requires JDK 1.7 or above. You need to install the Java on the CentOS 7 server. Maven is a automation tool used to build and manage projects written in C, ruby language, In this blog, I will explain that how to install and configure latest version of Apache Maven on a CentOS 7.ĭownload Apache Maven Binary Files from source fileĬonfigure Apache Maven Environment on centosįirst.
0 Comments
Leave a Reply. |