The Guide Show How-to Install and Getting-Started with the Latest Apache Maven 3 Java Project Management & Build Tool for Linux Debian 7 Wheezy Lxde i386/amd64 Desktop.
To Make the Entire Process Easier to Visualize and Retain the Article Includes the Basic Screenshots of the Essentials Steps Involved.
The Content and Details are Expressly Reduced to Give Focus Only to the Essentials Instructions and Commands and Make Tut Easier to Read & Digest ;)
To the Post Bottom you Find a Link to How-to Add/Create Application Launcher on Debian Lxde Dextop.
Download Latest Apache Maven3:Maven3 bin.tar.gz for Linux
- Double-Click on Archive and Extract Maven3 Binaries into /tmp
- Open a Root Terminal Window
- Relocate Maven3 Binaries
mv /tmp/apache-maven-3* /opt
- Check if Java is Installed
Next you Need to know the Path to the Java JDK.
If you Just Do Not Know How Try:
locate bin/java | grep jdk
If locate is Not Set-Up the Look this Guide:Set-Up and Use the locate Command on Debian
If Java JDK is Not Installed then:Install Oracle JDK7 for Debian
- Setup Maven3 Path and Environment Variables
nano ~/.bashrcInsert Something Like:
export M3_HOME=/opt/apache-maven-3.0.4 export M3=$M3_HOME/bin export PATH=$M3:$PATH export JAVA_HOME=<PathToJDK7> export PATH=$JAVA_HOME/bin:$PATH
Load New .bashrc SetUp
- Test Maven3 Installation
If you Get the Maven Version the Apache Maven3 has been Successfully Installed on Your Linux Debian Lxde :)