# Build failed for phantomjs

**URL:** <https://discuss.gradle.org/t/build-failed-for-phantomjs/12108>\
**Category:** Help/Discuss\
**Tags:** gradle-2698\
**Created:** [October 9, 2015, 7:36am UTC](https://discuss.gradle.org/t/build-failed-for-phantomjs/12108 "2015-10-09T07:36:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SVNKR](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@SVNKR](https://discuss.gradle.org/u/SVNKR)\
**Post date:** [October 9, 2015, 7:36am UTC](https://discuss.gradle.org/t/build-failed-for-phantomjs/12108/1 "2015-10-09T07:36:49Z")

</div>

Hi, When trying to build my javascript application using gradle , it is failing with error  
"A problem occurred starting process ‘command ‘phantomjs.cmd’’.  
PhantomJs -version : 2.0.0  
Gradle -version: 2.6  
Groovy: 2.3.10  
Ant: Apache Ant™ version 1.9.3 compiled on December 23 2013  
JVM: 1.8.0\_60 (Oracle Corporation 25.60-b23)  
OS: Windows 10 10.0 amd64

PhantomJs is installed and present in classpath. I am able to run phantomjs through command line.
