Thanks, that fixed the problem for me on Mac with Drill 1.8. I had the same error as OP (Unable to locate an executable at "/System/Library/Frameworks/JavaVM.framework/Versions/A/bin/java" (-1))
$ diff drill-config.sh drill-config.sh.bak 395c395 < #export JAVA_HOME --- > export JAVA_HOME On 21 September 2016 at 18:08, Padma Penumarthy <ppenumar...@maprtech.com> wrote: > Trying commenting out the following line in > distribution/target/apache-drill-1.9.0-SNAPSHOT/apache- > drill-1.9.0-SNAPSHOT/bin/drill-config.sh > > export JAVA_HOME > > Thanks, > Padma > > > > On Sep 20, 2016, at 7:17 PM, Rajasimman Selvaraj <rajasimm...@gmail.com> > wrote: > > > > Hi , > > I am getting the following error while starting the drill in Mac OS > for the first time. > > Unable to locate an executable at "/System/Library/Frameworks/ > JavaVM.framework/Versions/A/bin/java" (-1) > > > > I have the java JDK installed in my machine as listed below. > > RajaSimmans-MBP:apache-drill-1.8.0 Hadoop$ java -version > > java version "1.8.0_101" > > Java(TM) SE Runtime Environment (build 1.8.0_101-b13) > > Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode) > > RajaSimmans-MBP:apache-drill-1.8.0 Hadoop$ > > > > Please help me to get the drill start and running in my Mac OS. > > > > Regards, > > S.RajaSimman. > >