

Click on ‘New’ next to Project SDK and select ‘JDK’. Remember to select a SDK if its not already available. Install any extra plugins if required or just use the defaults (you can alway install any extra plugins at a later date). Make sure the project type is set to Java when you create this example. You will be asked to setup Intellij when the application first spark up. Lunch Intellij and select ‘Create New Project’. tar xvf ideaIC-14.1.3.tar.gz sudo mv idea-IC-141.1010.3 /usr/lib/ sudo ln -sf /usr/lib/idea-IC-141.1010.3 /usr/lib/idea sudo ln -sf /usr/lib/idea/bin/idea.sh /usr/bin/idea run /usr/bin/idea to start Simple Programme Demo Download the tar file and install in using the following. Go to, select your operation system and download to install. It is relatively simple to install Intellij on a Mac OS X Yosemite. This tutorial is a simple guide to demonstrate how to setup Intellij and write a small Java programme and package your code into a jar file to inspect the HDFS file system. Whether it is debugging, refactoring, auto-completion it is much easier to use with consistent. I can navigate around my code base much faster. My preference would be Intellij IDEA because I find that Intellij indexes really well and it works much intuitively. Please update directory location, filename and path as per your need below.There are number of IDEs you can choose to write applications to interact with your system. maven-jar-plugin: This plugin provides the capability to build and sign jars.It can copy and/or unpack artifacts from local or remote repositories to a specified location. maven-dependency-plugin: The dependency plugin provides the capability to manipulate artifacts.The main resources are the resources associated to the main source code. maven-resources-plugin: The Resources Plugin handles the copying of project resources to the output directory.Open your pom.xml file and add below under. jar project with all included dependancies. pom.xml file in which we will add Maven Plugins which will build executable.CrunchifyMain.java is a main starting point which has main(String args) method inside.


Take a look at below sample Java Project. Well, there is a simple way to build and create your Java Project’s executable with Maven Plugins. Are you working on enterprise level Java Project? Using Maven POM.xml file to keep all dependancies up-to date? In your project do you have src folder, resources folder, lib folder, etc? Well, what if you want to deploy this project to 3rd party client? Any other standalone hardware?
