OK, I created a project named jFreeChart and with it selected, I right-clicked and went to Build Path | Add Libraries | User Libraries | New and gave it a name of jFreeChartLib. Then Add Jars and selected jcommon-1.0.0.jar and jfreechart-1.0.0.jar. then open | OK | Finish. At this point, I can see jFreeChartLib in my Package Explorer with the two Jars below it.
Back to the jFreeChart project, create a package named chapter04, and under that a class named First.
Still all the “red squiggles”. What am I doing wrong?