The .class file and the .jrxml file has to be in the same directory and folder for you to call it. Why don't you try this sample class below and build it to get the .class file. Then just create a sample barchart just for testing purposes. And then try it out and see how it goes. I don't understand why it can't be found because i faced exactly the same problem you had and solved it via this way. Code:/* * To change this template, choose Tools | Templates * and open the template in the editor. *//* * ============================================================================ * GNU Lesser General Public License * ============================================================================ * * JasperReports - Free Java report-generating library. * Copyright (C) 2001-2006 JasperSoft Corporation http://www.jaspersoft.com * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * * JasperSoft Corporation * 303 Second Street, Suite 450 North * San Francisco, CA 94107 * http://www.jaspersoft.com */import net.sf.jasperreports.engine.JRChartCustomizer;import net.sf.jasperreports.engine.JRChart;import org.jfree.chart.JFreeChart;import org.jfree.chart.renderer.category.BarRenderer;import org.jfree.chart.plot.CategoryPlot;import org.jfree.chart.axis.NumberAxis;import java.awt.*;import org.jfree.chart.axis.CategoryAxis;/** * @author Teodor Danciu (teodord@users.sourceforge.net) * @version $Id:BarChartCustomizer.java 2317 2008-08-27 09:06:42Z teodord $ */public class BarChartCustomizer implements JRChartCustomizer{ private Number tickUnits=0; public void customize(JFreeChart chart, JRChart jasperChart) { BarRenderer renderer = (BarRenderer) chart.getCategoryPlot().getRenderer(); renderer.setSeriesPaint(0, Color.red); renderer.setSeriesPaint(1, Color.blue); renderer.setMaximumBarWidth(10); //renderer.set //renderer.setItemMargin(0.50); //myHorizontalAxis.setAutoTickUnits(false);//myHorizontalAxis.setTickUnits(new Double(10)); CategoryPlot plot = chart.getCategoryPlot();//NumberAxis myHorizontalAxis =//(NumberAxis) plot.getAxis(Plot.HORIZONTAL_AXIS);NumberAxis rangeAxis = (NumberAxis) plot.getRangeAxis();//rangeAxis.setTickUnit(20);//rangeAxis.createIntegerTickUnits();rangeAxis.setStandardTickUnits(rangeAxis.createIntegerTickUnits());rangeAxis.setAutoRangeIncludesZero(true);//rangeAxis.setRange(100, plot.); //CategoryPlot plot = chart.getCategoryPlot();CategoryAxis axis = plot.getDomainAxis();//rangeAxis.set//renderer.setseriesaxis.setLowerMargin(0.02); // two percentaxis.setCategoryMargin(0.05); // ten percentaxis.setUpperMargin(0.02); // two percent//renderer.setbar }}