I am trying to create report using ireport(3.5.1) & i want to use Custom class. where my custom class reading file & returning a string like package org.test.com; public class ReadUrlFile { public String getInputUrls() { //reading file.... return urls; } for this i have created java class, made a jar, and then i have added text fied in report & refer the Class in jasper to use it's methods. like new org.test.com.ReadUrlFile().getInputUrls() i also tried like (new org.test.com.ReadUrlFile()).getInputUrls() I have added jar in ireprt classpath from : Tools > option > classpath. when i click on preview i am getting ClassNotFoundException Anyone help me to come out. what i have missing Thanks, awadhai