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

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 ( that I stored in PSHOME\class

Help me please, thanks..

Guest's picture
Re: Calling Java Class in PeopleCode

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