Java – what does this java error mean


I'm trying to convince Zucker Reports to display a Jasper report but am getting a Java error and I don't speak java-ese. I see that there is a file not found error, but I can't figure out which file is not found. I replaced the long classpath with <SNIP>.

error compiling report report2.jrxml - cmdline: javaw -classpath "<SNIP>" 
at.go_mobile.zuckerreports.JasperCompileMain D:\Program Files\sugarcrm-5.2.0e\php\tmp\php83.tmp modules/ZuckerReports/resources/report2.jasper 2>&1
JasperBatchMain :: compiling jasper design D:\Program to Files\sugarcrm-5.2.0e\php\tmp\php83.tmp
JasperBatchMain :: D:\Program (The system cannot find the file specified)
net.sf.jasperreports.engine.JRException: D:\Program (The system cannot find the file specified)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(
at at.go_mobile.zuckerreports.JasperCompileMain.main(
Caused by: D:\Program (The system cannot find the file specified)
at Method)
at Source)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(

Best Solution

You have a space in your file path. Enclose it in double quotes.

Possibly in the <SNIP> part. Try placing your files outside of Program Files.