Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2002
    Posts
    2

    Question Unanswered: Java UDF called from a trigger

    hey there,

    I am trying to call a method from a java class as an action of a trigger.
    I believe the trigger and UDF are correct. When executing, the java interpreter cannot be found (SQLCODE "-4301", SQLSTATE "58004"). I have jdk1.3.1 installed, and am pointing to the jre directory with the jdk11_path db2 variable. Is there anymore config i need to do? Any ideas on what i'm doing wrong would be appreciated.

    Cheers.

  2. #2
    Join Date
    Jan 2002
    Location
    USA
    Posts
    53

    Re: Java UDF called from a trigger

    Originally posted by funnyman
    hey there,

    I am trying to call a method from a java class as an action of a trigger.
    I believe the trigger and UDF are correct. When executing, the java interpreter cannot be found (SQLCODE "-4301", SQLSTATE "58004"). I have jdk1.3.1 installed, and am pointing to the jre directory with the jdk11_path db2 variable. Is there anymore config i need to do? Any ideas on what i'm doing wrong would be appreciated.

    Cheers.



    check JDK11_PATH and set DB2_USE_JDK12=1


    Ljrong

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •