For IDEA Users (Github)ΒΆ
- Create a git clone of the H2O repository. From Source Code (Github)
- Open IDEA.
- Click Import Project.
![../_images/02ImportProject.png](../_images/02ImportProject.png)
- Choose the H2O directory and click OK.
![../_images/03ChooseH2ODir.png](../_images/03ChooseH2ODir.png)
- Choose Import project from external model. Choose Eclipse. Click Next.
![../_images/04ChooseEclipse.png](../_images/04ChooseEclipse.png)
- ENABLE LINK CREATED INTELLIJ IDEA MODULES TO ECLIPSE PROJECT FILES (this is not selected by default). Click Next.
![../_images/05ConfigureImport.png](../_images/05ConfigureImport.png)
- H2O should be selected by default. Keep it selected. If the “experiments” module is selected uncheck it. Click Next.
![../_images/06H2OSelected.png](../_images/06H2OSelected.png)
- SDK 1.6 or 1.7 should selected by default. If so click Finish. If you don’t have an SDK on your system you will need to install one first.
![../_images/07SelectJavaSK.png](../_images/07SelectJavaSK.png)
- (Import from Eclipse) If prompted for Python configuration stuff just click Cancel.
![../_images/08CancelPython.png](../_images/08CancelPython.png)
- If prompted to Add Files to Git just click Cancel.
![../_images/09CancelAddProjectFilesToGit.png](../_images/09CancelAddProjectFilesToGit.png)
- In IntelliJ IDEA / Preferences (CMD-,) set the project bytecode version to 1.6:
![../_images/11SetProjectBytecodeVersion.png](../_images/11SetProjectBytecodeVersion.png)
- Select a sample Java Application and right click on it. Choose Run.
![../_images/12SelectJavaApplicationToRun.png](../_images/12SelectJavaApplicationToRun.png)
- In certain versions of IntelliJ you may need to set the Java heap size and re-run:
![../_images/13SetJavaHeapSize.png](../_images/13SetJavaHeapSize.png)
- See the output of a successful run.
![../_images/14SuccessfulRunOutput.png](../_images/14SuccessfulRunOutput.png)
- You may connect to http://127.0.0.1:54321/ to use H2O interactively.