Concrete ground :
As a developper I like to develop on a proper OS, close to my server, it's why I have a Ubuntu 13.04. Generally all the servers are running on a Linux OS. Usually a Red Hat, specially in my company. But developping on Ubuntu is oK. Better than developping on Windows ;)
I can't afford to have a Mac but that's another point.
Couchbase Cluster :
You can install the latest release of Couchbase folling this tutoria.
Java :
Java is already installed on my computer. I can only propose you to go the Ubuntu site to the Java Page to follow their tuorial.
Maven :.
On top of Ubuntu LTS, the first I install is Maven. This apache project will allow me to manage my java project dependicies and build and package my application. It's a core component, a simplifier. Some of you may prefer Ivy with Ant (also some Apache Project), Gradle.
As I said before, I feel more confident with Maven but Gradle is getting more and more good critics in the Java community so may be, on my next project I will have a go with it but not now.
May be, because of the requirement of the project, later, I will use Ant. Ant is also used along side Maven for performing some typical automation action.
As I am writing this article, Maven version is 3.1.1, if maven is installed you can have the version by typing the command line "mvn -version".
A simple way to install maven on Ubuntu is using the package installing tool apt-get, e.g. "sudo apt-get install maven".
But on Ubuntu 13.04 you will get maven 3.0.4 version as it did to me.
> mvn -version Apache Maven 3.0.4 Maven home: /usr/share/maven Java version: 1.7.0_40, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-7-oracle/jre Default locale: fr_FR, platform encoding: UTF-8 OS name: "linux", version: "3.11.0-12-generic", arch: "i386", family: "unix"
If you want to install the latest release, you can follow this tutorial as I did.
Now, if I test my Maven version, I obtain.
>mvn -version Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 17:22:22+0200) Maven home: /home/throdo/Programmation/Binaires/Maven/apache-maven-3.1.1 Java version: 1.7.0_40, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-7-oracle/jre Default locale: fr_FR, platform encoding: UTF-8 OS name: "linux", version: "3.11.0-12-generic", arch: "i386", family: "unix"
Ok for now, it's enough. I have an OS (Ubuntu 13.04) and Maven 3.1.1 is running.
Next step, I will install my Tomcat server.
No comments :
Post a Comment