# Build Failed on Development module

**URL:** <https://forum.inductiveautomation.com/t/build-failed-on-development-module/2517>\
**Category:** Module Development\
**Created:** [January 16, 2011, 10:51pm UTC](https://forum.inductiveautomation.com/t/build-failed-on-development-module/2517 "2011-01-16T22:51:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TacHuynh](https://avatars.discourse-cdn.com/v4/letter/t/e495f1/32.png) [@TacHuynh](https://forum.inductiveautomation.com/u/TacHuynh)\
**Post date:** [January 16, 2011, 10:51pm UTC](https://forum.inductiveautomation.com/t/build-failed-on-development-module/2517/1 "2011-01-16T22:51:43Z")

</div>

Downloaded the latest Development code available.  
Follow the instruction to build the example got a build failed.

Buildfile: C:\Documents and Settings\TacHuynh\workspace\Build\build.xml  
clean:  
[delete] Deleting directory C:\Documents and Settings\TacHuynh\workspace\Build\bin  
ModuleNames:  
\_include\_antcontrib:  
\_include\_pack200:  
\_include\_postmodule:  
init:  
[echo] Build date: 01/17/2011 06:08 AM  
[echo] Build version: 1  
Versions:  
[echo] WeatherModule 1.0.0.1-beta1  
Classpaths:  
project-WeatherModule\_Common:  
ModuleNames:  
Classpaths:  
\_include\_antcontrib:  
MakeProject:  
[echo] Compiling WeatherModule\_Common  
[mkdir] Created dir: C:\Documents and Settings\TacHuynh\workspace\Build\bin\WeatherModule\_Common\bin  
[mkdir] Created dir: C:\Documents and Settings\TacHuynh\workspace\Build\bin\WeatherModule\_Common\dist  
[jar] Warning: skipping jar archive C:\Documents and Settings\TacHuynh\workspace\Build\bin\WeatherModule\_Common\dist\weather-common.jar because no files were included.  
[jar] Building MANIFEST-only jar: C:\Documents and Settings\TacHuynh\workspace\Build\bin\WeatherModule\_Common\dist\weather-common.jar  
project-WeatherModule\_Driver:  
ModuleNames:  
Classpaths:  
\_include\_antcontrib:  
MakeProject:  
[echo] Compiling WeatherModule\_Driver  
[mkdir] Created dir: C:\Documents and Settings\TacHuynh\workspace\Build\bin\WeatherModule\_Driver\bin  
[javac] Compiling 29 source files to C:\Documents and Settings\TacHuynh\workspace\Build\bin\WeatherModule\_Driver\bin

BUILD FAILED  
C:\Documents and Settings\TacHuynh\workspace\Build\build.xml:148: The following error occurred while executing this line:  
C:\Documents and Settings\TacHuynh\workspace\Build\build.xml:171: Error running javac.exe compiler

Total time: 1 second

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [January 17, 2011, 4:02pm UTC](https://forum.inductiveautomation.com/t/build-failed-on-development-module/2517/2 "2011-01-17T16:02:37Z")

</div>

You got that error because the Java JDK is not on the path. First download and install the Java JDK. Once installed you can do one of two things:

1. Use the new Java JDK 6 as the installed JRE in Eclipse. To do this, go to Eclipse - Preferences. Select Java - Installed JREs and add the JDK.

2. You can append the Java JDK bin path to the Windows path.

I recommend the first option since it is easy to setup.

---

<div class="post-metadata">

**Author:** ![TacHuynh](https://avatars.discourse-cdn.com/v4/letter/t/e495f1/32.png) [@TacHuynh](https://forum.inductiveautomation.com/u/TacHuynh)\
**Post date:** [January 18, 2011, 2:36am UTC](https://forum.inductiveautomation.com/t/build-failed-on-development-module/2517/3 "2011-01-18T02:36:36Z")

</div>

Thanks Travis.  
First option worked.  
Tac
