Add UDF to Vertica

Moderator: NorbertKrupa

Post Reply
alaasalmo
Newbie
Newbie
Posts: 1
Joined: Wed Apr 20, 2016 6:25 pm

Add UDF to Vertica

Post by alaasalmo » Thu Apr 21, 2016 5:23 pm

Hi,
I am trying to add UDF JAR and I am getting the following error:

Coomand: CREATE LIBRARY wordCountLib as 'CountWordsUDxLib.jar' LANGUAGE 'JAVA';

************************* Error ****************************************************************************

ROLLBACK 5699: Cannot find java binary: neither the Linux environment variable JAVA_HOME nor Vertica config parameter JavaBinaryForUDx is set
HINT: Please set JAVA_HOME environment variable or JavaBinaryForUDx config parameter to help vertica find java binary
*************************************************************************************************************

Do you know why!

User avatar
JimKnicely
Site Admin
Site Admin
Posts: 1778
Joined: Sat Jan 21, 2012 4:58 am
Contact:

Re: Add UDF to Vertica

Post by JimKnicely » Fri Apr 22, 2016 12:08 am

Hi,

Did you read that HNT?
HINT: Please set JAVA_HOME environment variable or JavaBinaryForUDx config parameter to help vertica find java binary
Did you do one of these things?
Jim Knicely

Image

Note: I work for HPE. My views, opinions, and thoughts expressed here do not represent those of my employer.

Post Reply

Return to “Request for New Forums Categories”