Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Access of external jar using udjc step

  1. #1

    Default Access of external jar using udjc step

    Hi all,

    Have anyone accessed external jars using udjc step?

    I am currently using pentaho 7 version.
    I have placed the jar file in pentaho lib folder and I also checked in launcher.properties file if classpath is mapped to lib folder.
    After all these checks there is still an issue.
    Can anyone pls help me out.
    Regards,
    Dileep
    Mail ID

  2. #2
    Join Date
    Aug 2016
    Posts
    267

    Default

    Yes I use external jar in udjc (user defined java class) step (on version 5.4.0.1-130).

    As far as I remember, I only needed to:
    1) put .jar in /data-integration/lib folder
    2) declare correct imports in the top of class code, for example "import package.ClassName"

    I never figured out how to configure classpath and settings to use the libext folder, so I just put them in lib folder instead, didn't require any configuration (except imports as mentioned above). What errors are you getting?
    Last edited by Sparkles; 02-07-2019 at 08:46 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2017 Pentaho Corporation. All Rights Reserved.