RunJasperReports FAQ
From GTwM
The import net cannot be resolved
If you get an error when trying to run RunJasperReports like this:
(at line 4)
import net.sf.jasperreports.engine.*;
^^^
The import net cannot be resolved
it could mean that the your system is set to run a non-Sun Java compiler - JasperReports is incompatible with some other compilers. To fix this, set your environment variables to point to Sun Java. To see what your current JAVA_HOME environment variable is, use
echo $JAVA_HOME
Debian and Ubuntu users have come across this issue.
Back to main page
