Priming Ubuntu 14.04 to working with Dropwizard

Here is a link to my Getting Started with Dropwizard course on Udemy. Only $10!

To start developing with Dropwizard using Ubuntu we first of all should install Java, Maven project management tool an Git in order to get access to Dropwizard repository on GitHub. We are going to install Oracle Java 8 which is not part of Ubuntu distribution; to host such packages there is a project Launchpad that allows to upload so-called Personal Package Archives (PPA) and the one for Oracle Java 8 is supported by webupd8.

In order to install Java 8 the following commands should be issued in a terminal window. To open the terminal one could press Alt+Ctrl+T simultaneously.

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

The following additional command sets up all the necessary Java environment variables.

sudo apt-get install oracle-java8-set-default

To check the installation ask Java to report its version.

java -version

You should see something like this.




To install Maven one should key in the following.

sudo apt-get install maven

To verify the installation let's check Maven's version.

mvn -v

The following screen should appear.



To install Git it is necessary to issue the command below.

sudo apt-get install git

To check the correctness of installation let's print its version.

git --version

The result is shown below.



Update: Here is the link to my Getting Started with Dropwizard course on Udemy.


References

Comments

Popular posts from this blog

Bootstrap 3 Forms Tutorial

Spring Tutorial: Creating a Hello World REST API Using Spring Framework and Spring Boot

Getting started with Dropwizard: First steps