java.io.IOException: CreateProcess: make error=2
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
hi all,
am getting this below error while trying to build my web application :
Buildfile: D:\onlinebill\online-bill\build.xml
build:
BUILD FAILED
D:\onlinebill\online-bill\build.xml:126: Execute failed: java.io.IOException: CreateProcess: make error=2
the line which the error points to is :
have tried verifying my classpath, etc and tried including location of the build file in the build path as suggested by
https://coderanch.com/t/107779/Ant-Maven-Other-Build-Tools/Execute-failed-java-io-IOException
but still cant get around this error.
any help would be much appreciated.
ta.
am getting this below error while trying to build my web application :
Buildfile: D:\onlinebill\online-bill\build.xml
build:
BUILD FAILED
D:\onlinebill\online-bill\build.xml:126: Execute failed: java.io.IOException: CreateProcess: make error=2
the line which the error points to is :
have tried verifying my classpath, etc and tried including location of the build file in the build path as suggested by
https://coderanch.com/t/107779/Ant-Maven-Other-Build-Tools/Execute-failed-java-io-IOException
but still cant get around this error.
any help would be much appreciated.
ta.
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
I you cd to ${build} and enter:
make
what happens?
make
what happens?
nikil shar
Ranch Hand
Posts: 116
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
hi,
thanks for the reply. When i enter 'make' in ${build} dir i get this error :
'make' is not recognized as an internal or external command,
operable program or batch file.
i am using ecllipse to build and run my application.
thanks for the reply. When i enter 'make' in ${build} dir i get this error :
'make' is not recognized as an internal or external command,
operable program or batch file.
i am using ecllipse to build and run my application.
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
"make" is not part of Eclipse. You'll need to install it.
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Might I ask why you are running "make" when building a web application?
nikil shar
Ranch Hand
Posts: 116
posted 15 years ago
maybe i misunderstood your original request to cd into ${build} and run 'make'.
my comment on using ecllipse was to show i didnt write the build script, it was autogenerated by eclipse thats why i dont really understand why its throwing the 'build failed' error below.
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Peter Johnson wrote:Might I ask why you are running "make" when building a web application?
maybe i misunderstood your original request to cd into ${build} and run 'make'.
my comment on using ecllipse was to show i didnt write the build script, it was autogenerated by eclipse thats why i dont really understand why its throwing the 'build failed' error below.
posted 15 years ago
This while we say - not so jokingly - that the best IDE to learn programming with is Windows Notepad. When stuff gets generated for you by "magic", you'll have no clue as to what's wrong.
And far worse, I've seen a lot of projects out there where people were doing things that "worked", but not very well, precisely because they didn't know what was going on.
Make is the program I used to use before I adopted Ant. It was originally designed for Unix systems and its primary use is to build applications in C or C++. although, like Ant, it can build almost anything. The main difference between make and Ant is that Ant has a better understanding of how to build Java projects.
You probably have the Eclipse CDK installed. The CDK is the C developer's Kit, and it does for people working on project in C/C++ what the Eclipse Java Developer's Kit does for people working in Java. In this particular case, it appears that the IDE has constructed an Ant script which (possibly amoung other things) wants to build modules using the make utility.
Make, however, isn't included with the CDK. That's because it's normally part of the C developer's toolset for that particular platform. Actually, "make" is only one of several such programs. There's "gmake" that the GNU projects are usually built with, and I think that the Microsoft developer platforms have had both an "nmake" and and nmk. All these programs are a lot alike, but they do have critical differences, as well.
But the most important thing is that if you have a Java project and your Ant script wants to run make. you did something terribly wrong. Because it thinks you're trying to compile and like non-Java code and it built the build.xml to make it do so.
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
nikil shar wrote:
my comment on using ecllipse was to show i didnt write the build script, it was autogenerated by eclipse thats why i dont really understand why its throwing the 'build failed' error below.
This while we say - not so jokingly - that the best IDE to learn programming with is Windows Notepad. When stuff gets generated for you by "magic", you'll have no clue as to what's wrong.
And far worse, I've seen a lot of projects out there where people were doing things that "worked", but not very well, precisely because they didn't know what was going on.
Make is the program I used to use before I adopted Ant. It was originally designed for Unix systems and its primary use is to build applications in C or C++. although, like Ant, it can build almost anything. The main difference between make and Ant is that Ant has a better understanding of how to build Java projects.
You probably have the Eclipse CDK installed. The CDK is the C developer's Kit, and it does for people working on project in C/C++ what the Eclipse Java Developer's Kit does for people working in Java. In this particular case, it appears that the IDE has constructed an Ant script which (possibly amoung other things) wants to build modules using the make utility.
Make, however, isn't included with the CDK. That's because it's normally part of the C developer's toolset for that particular platform. Actually, "make" is only one of several such programs. There's "gmake" that the GNU projects are usually built with, and I think that the Microsoft developer platforms have had both an "nmake" and and nmk. All these programs are a lot alike, but they do have critical differences, as well.
But the most important thing is that if you have a Java project and your Ant script wants to run make. you did something terribly wrong. Because it thinks you're trying to compile and like non-Java code and it built the build.xml to make it do so.
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer
nikil shar
Ranch Hand
Posts: 116
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
hi, thanks for the reply. Eclipse is pretty useful in most cases but in this case its made my life a little difficult.
| They weren't very bright, but they were very, very big. Ad contrast: The new gardening playing cards kickstarter is now live! https://www.kickstarter.com/projects/paulwheaton/garden-cards |











