This could be very basic question. I am writing my first java extension using integration studio and I am getting following error

J2EE Compilation.
javac: invalid flag: -buildfile
Usage: javac <options> <source files>
use -help for a list of possible options

I have written few .net extension and it was very smooth. I don't understand what to fix as the code works in eclipse. Does eveyone know the solution for this?

I am using jdk1.8.0_25 and intergration studio 

Following solved the issue.