Skip to main content

Setting the JavaBinaryForUDx Configuration Parameter

  • March 13, 2014
  • 4 replies
  • 16 views

tester
Forum|alt.badge.img+1
  • Participating Frequently
SELECT SET_CONFIG_PARAMETER('JavaBinaryForUDx','/usr/java/default/bin/java');

Giving me an error of -bash: syntax error near unexpected token '('

Anyone?

4 replies

Abhishek_Rana
Forum|alt.badge.img
  • Participating Frequently
  • March 13, 2014
It is type of syntax error only.. Check the syntax which you are using & see for correct quotes being used.

Try running it from vsql & from dbadmin user.

Regards'

Abhishek

tester
Forum|alt.badge.img+1
  • Author
  • Participating Frequently
  • March 13, 2014
The syntax is should be right. U mean to run vsql inside dbadmin? How do u go about doing that? Thanks Abhishek


wwong2
Forum|alt.badge.img
  • Participating Frequently
  • March 13, 2014
Hi, it looks like you ran the SELECT SET_CONFIG_PARAMETER('JavaBinaryForUDx','/usr/java/default/bin/java'); command at linux command line, what you need to do is issue that within Vertica.
You can get in either through admintools to connect to db

$> /opt/vertica/bin/admintools

or direct through vsql

$>/opt/vertica/bin/vsql

Regards


tester
Forum|alt.badge.img+1
  • Author
  • Participating Frequently
  • March 14, 2014
Thank you, it works perfectly now.