You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

Calling Java Class in PeopleCode

1 reply [Last post]
Guest's picture
Guest

I was getting this error code :

Java Exception: java.lang.NoClassDefFoundError: image: finding class image (2,725) SAG_BPJS_AE.MAIN.GBL.default.1900-01-01.Step04.OnExecute PCPC:119 Statement:2

when I try to run these code :

Local string &St_path_l = "CreatedFromPeopleSoft.xls";
Local JavaObject &Obj_class_l = CreateJavaObject("image");
......

note : image is a Java class (image.java) that I stored in PSHOME\class

Help me please, thanks..

Guest's picture
Guest
Re: Calling Java Class in PeopleCode

Local JavaObject &Obj_imageobject_l = CreateJavaObject("com.lowagie.text.Image");

Post new comment

CAPTCHA
The question below is to prevent automated spam submissions.
1 + 1 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.