You should have the same screen as below.
Browse and select your Java SE Development Kit 7 (JDK) installation folder.Select a Project SDK. If you don’t have anything available in the dropdown, then click New to set up new Project SDK. Make sure the project type is set to Java.Step 5 – Create Hadoop (WordCount) Java Application You can get the latest FREE version of IntelliJ IDEA Community Edition here. Edit Path Variable to add bin directory of both Java JDK and Hadoop (i.e.Repeat the above step but this time enter the variable name as HADOOP_HOME.Įnter the variable value as the folder where you extract Hadoop distribution (e.g.
NOTE: If JDK installation path contains any space then use Windows shortened name (say ‘Progra~1’ for ‘Program Files’) for the JAVA_HOME environment variable.
C:\Hadoop)Īfter you have installed the Java SE Development Kit (JDK) and Hadoop in Windows, you must set the JAVA_HOME and HADOOP_HOME environment variables to point to their installation directory. For simplicity, extract it into your root directory (i.e.
You can either Install Java SE Development Kit 7 or 8.ĭownload link: jdk-8u31-windows-圆4.exe (64bit) or jdk-8u31-windows-i586.exe (32bit). Step 1 – Install Java SE Development Kit (JDK) If you have any corrections or advice for me, please let me know in a comment and I’ll get it fixed. If you want to create and debug MapReduce application using Java in IntelliJ IDEA then this guide will help you do just that. I’m not an expert in Hadoop.