Java

Calling Java Class in PeopleCode

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..

PeopleCode calling java: no class def for dependent jars

I created a very simple java class with a method that takes one parameter, a unique id. It then finds the object in Documentum matching that ID, gets the content file from Documentum and stores it locally. The method returns the full path to the local content file. My class depends on a half dozen Documentum DFC jar files. We put my jar file and the dependent ones into %PS_HOME%/appserv/classes/ .