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

AngularJS Tutorial: Creating AngularJS Hello World application using Plunker

Bootstrap 3 Forms Tutorial

AngularJS Tutorial: AngularJS Controller As Syntax