Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Calling my external Java Function

  1. #1
    Join Date
    Jul 2007
    Posts
    8

    Question Calling my external Java Function

    I am trying a sample job with JS Step where i am trying to initialize my Class with an empty constructor like this but when i click "Test Script" button it says "[JavaPackage test.company.Test] is not a function".

    I am calling it something like this

    test = new Packages.test.company.Test();

    I have bundled my class in to test.jar and placed it in "Kettle-2.5.0\libext".

    I have looked at PDI but that doesn't help me in anyway?

    Any pointers on calling my own java functions would be appreciated.

  2. #2
    Join Date
    May 2006
    Posts
    4,882

    Default

    Put

    java;

    in the first line of your script.

    Regards,
    Sven

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 - 2019 Hitachi Vantara Corporation. All Rights Reserved.