You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@drill.apache.org by Rajasimman Selvaraj <ra...@gmail.com> on 2016/09/21 02:17:29 UTC

Apache Drill Error

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.

Re: Apache Drill Error

Posted by Robin Moffatt <ro...@rittmanmead.com>.
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 <pp...@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 <ra...@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.
>
>

Re: Apache Drill Error

Posted by Padma Penumarthy <pp...@maprtech.com>.
Sorry, I meant Try (not Trying)

> On Sep 21, 2016, at 10:08 AM, Padma Penumarthy <pp...@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 <rajasimmans@gmail.com <ma...@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.
> 


Re: Apache Drill Error

Posted by Padma Penumarthy <pp...@maprtech.com>.
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 <ra...@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.