hmm, i seem to be still having the same problem? I added the correct directories & .JAR files under my Classpath. The problem is: java.lang.ClassNotFoundException:C:Documents and SettingsKinmonDesktoptest.java and under Element, it says: /jasperReport???? (from the Problems(1) tab). attached is the code. Code: import java.util.*; import net.sf.jasperreports.engine.*; public class test extends it.businesslogic.ireport.IReportScriptlet { public test() { long l1 = 10; long l2 = 20; long difference = l2 - l1; } } also, my iReport file is called: test.jrxml oh yeah, the error I get is: Compiling to file... C:Documents and SettingsKinmonDesktoptest.jasper -> C:Documents and SettingsKinmonDesktoptest.java net.sf.jasperreports.engine.design.JRValidationFault@636a7e java.lang.ClassNotFoundException: C:Documents and SettingsKinmonDesktoptest.java Line: 20, Column: 29 JRXML Element: /jasperReport net.sf.jasperreports.engine.design.JRValidationException: Report design not valid : 1. java.lang.ClassNotFoundException: C:Documents and SettingsKinmonDesktoptest.java at net.sf.jasperreports.engine.design.JRAbstractCompiler.verifyDesign(JRAbstractCompiler.java:260) at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:144) at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:586) at java.lang.Thread.run(Unknown Source) Compilation running time: 266 Thank you very much codyjasperForge. You've been very helpful! :) Post edited by: kinny, at: 2007/07/11 13:36