1. download "intellij idea", maven and JDK.
2. Before run the interllij idea, "export" the M2_HOME to indicat the installed maven path and JAVA_HOME to specify the installed jdk path.
3. start the "interllij idea" by using "nohup ./bin/idea.sh &", close the termial now.
4. pom.xml
artifactId means the jar filename
groupID means the "package" name.
package org.apache.hadoop.examples;
import java.io.IOException;
import java.util.StringTokenizer;
5. Select the archetype: maven-archetype-quickstart not using default maven-archetype.