I have tried to compile.. but I get lots of errors. What's wrong?
Cheers,
Jérôme
art = createDayChart();
^^^^^^^^^^
PVGraph.java:268: error: The method createDayChart() from the type PVGraph refers to the missing type JFreeChart
JFreeChart chart = createDayChart();
^^^^^^^^^^^^^^
PVGraph.java:269: error: ChartPanel cannot be resolved to a type
ChartPanel panel = new ChartPanel(chart);
^^^^^^^^^^
PVGraph.java:269: error: ChartPanel cannot be resolved to a type
ChartPanel panel = new ChartPanel(chart);
^^^^^^^^^^
PVGraph.java:276: error: JFreeChart cannot be resolved to a type
JFreeChart chart = createMonthChart();
^^^^^^^^^^
PVGraph.java:276: error: The method createMonthChart() from the type PVGraph refers to the missing type JFreeChart
JFreeChart chart = createMonthChart();
^^^^^^^^^^^^^^^^
PVGraph.java:277: error: ChartPanel cannot be resolved to a type
ChartPanel panel = new ChartPanel(chart);
^^^^^^^^^^
PVGraph.java:277: error: ChartPanel cannot be resolved to a type
ChartPanel panel = new ChartPanel(chart);
^^^^^^^^^^
PVGraph.java:284: error: JFreeChart cannot be resolved to a type
JFreeChart chart = createYearChart(detailed);
^^^^^^^^^^
PVGraph.java:284: error: The method createYearChart(boolean) from the type PVGraph refers to the missing type JFreeChart
JFreeChart chart = createYearChart(detailed);
^^^^^^^^^^^^^^^
PVGraph.java:285: error: ChartPanel cannot be resolved to a type
ChartPanel panel = new ChartPanel(chart);
^^^^^^^^^^
PVGraph.java:285: error: ChartPanel cannot be resolved to a type
ChartPanel panel = new ChartPanel(chart);
^^^^^^^^^^
PVGraph.java:291: error: JFreeChart cannot be resolved to a type
private JFreeChart createDayChart() {
^^^^^^^^^^
PVGraph.java:299: error: TimeSeriesCollection cannot be resolved to a type
TimeSeriesCollection dataset = new TimeSeriesCollection();
^^^^^^^^^^^^^^^^^^^^
PVGraph.java:299: error: TimeSeriesCollection cannot be resolved to a type
TimeSeriesCollection dataset = new TimeSeriesCollection();
^^^^^^^^^^^^^^^^^^^^
PVGraph.java:303: error: TimeSeries cannot be resolved to a type
TimeSeries s = new TimeSeries(dd.inverter + (dayData.size() > 1? ("-" + dd.serial) : ""));
^^^^^^^^^^
PVGraph.java:303: error: TimeSeries cannot be resolved to a type
TimeSeries s = new TimeSeries(dd.inverter + (dayData.size() > 1? ("-" + dd.serial) : ""));
^^^^^^^^^^
PVGraph.java:305: error: Minute cannot be resolved to a type
s.add(new Minute(dd.times.get(i)), dd.powers.get(i));
^^^^^^
PVGraph.java:311: error: JFreeChart cannot be resolved to a type
JFreeChart chart = ChartFactory.createXYAreaChart(
^^^^^^^^^^
PVGraph.java:311: error: ChartFactory cannot be resolved
JFreeChart chart = ChartFactory.createXYAreaChart(
^^^^^^^^^^^^
PVGraph.java:316: error: PlotOrientation cannot be resolved
PlotOrientation.VERTICAL,
^^^^^^^^^^^^^^^
PVGraph.java:324: error: XYPlot cannot be resolved to a type
XYPlot plot = (XYPlot) chart.getPlot();
^^^^^^
PVGraph.java:324: error: XYPlot cannot be resolved to a type
XYPlot plot = (XYPlot) chart.getPlot();
^^^^^^
PVGraph.java:328: error: RectangleInsets cannot be resolved to a type
plot.setAxisOffset(new RectangleInsets(5.0, 5.0, 5.0, 5.0));
^^^^^^^^^^^^^^^
PVGraph.java:337: error: ValueAxis cannot be resolved to a type
ValueAxis powerAxis = plot.getRangeAxis();
^^^^^^^^^
PVGraph.java:343: error: XYItemRenderer cannot be resolved to a type
XYItemRenderer r = plot.getRenderer();
^^^^^^^^^^^^^^
PVGraph.java:344: error: StandardXYToolTipGenerator cannot be resolved
r.setBaseToolTipGenerator(StandardXYToolTipGenerator.getTimeSeriesInstance());
^^^^^^^^^^^^^^^^^^^^^^^^^^
PVGraph.java:352: error: DateAxis cannot be resolved to a type
DateAxis axis = new DateAxis();
^^^^^^^^
PVGraph.java:352: error: DateAxis cannot be resolved to a type
DateAxis axis = new DateAxis();
^^^^^^^^
PVGraph.java:360: error: JFreeChart cannot be resolved to a type
private JFreeChart createMonthChart() {
^^^^^^^^^^
PVGraph.java:367: error: DefaultCategoryDataset cannot be resolved to a type
DefaultCategoryDataset dataset = new DefaultCategoryDataset();
^^^^^^^^^^^^^^^^^^^^^^
PVGraph.java:367: error: DefaultCategoryDataset cannot be resolved to a type
DefaultCategoryDataset dataset = new DefaultCategoryDataset();
^^^^^^^^^^^^^^^^^^^^^^
PVGraph.java:386: error: JFreeChart cannot be resolved to a type
JFreeChart chart = ChartFactory.createBarChart(
^^^^^^^^^^
PVGraph.java:386: error: ChartFactory cannot be resolved
JFreeChart chart = ChartFactory.createBarChart(
^^^^^^^^^^^^
PVGraph.java:391: error: PlotOrientation cannot be resolved
PlotOrientation.VERTICAL,
^^^^^^^^^^^^^^^
PVGraph.java:399: error: CategoryPlot cannot be resolved to a type
CategoryPlot plot = (CategoryPlot)chart.getPlot();
^^^^^^^^^^^^
PVGraph.java:399: error: CategoryPlot cannot be resolved to a type
CategoryPlot plot = (CategoryPlot)chart.getPlot();
^^^^^^^^^^^^
PVGraph.java:403: error: RectangleInsets cannot be resolved to a type
plot.setAxisOffset(new RectangleInsets(5.0, 5.0, 5.0, 5.0));
^^^^^^^^^^^^^^^
PVGraph.java:408: error: ValueAxis cannot be resolved to a type
ValueAxis powerAxis = plot.getRangeAxis();
^^^^^^^^^
PVGraph.java:414: error: CategoryItemRenderer cannot be resolved to a type
CategoryItemRenderer r = plot.getRenderer();
^^^^^^^^^^^^^^^^^^^^
PVGraph.java:424: error: JFreeChart cannot be resolved to a type
private JFreeChart createYearChart(boolean detailed) {
^^^^^^^^^^
PVGraph.java:430: error: TimeSeriesCollection cannot be resolved to a type
TimeSeriesCollection dataset = new TimeSeriesCollection();
^^^^^^^^^^^^^^^^^^^^
PVGraph.java:430: error: TimeSeriesCollection cannot be resolved to a type
TimeSeriesCollection dataset = new TimeSeriesCollection();
^^^^^^^^^^^^^^^^^^^^
PVGraph.java:434: error: TimeSeries cannot be resolved to a type
TimeSeries s = new TimeSeries(pd.inverter + (periodData.size() > 1? ("-" + pd.serial) : ""));
^^^^^^^^^^
PVGraph.java:434: error: TimeSeries cannot be resolved to a type
TimeSeries s = new TimeSeries(pd.inverter + (periodData.size() > 1? ("-" + pd.serial) : ""));
^^^^^^^^^^
PVGraph.java:446: error: Day cannot be resolved to a type
s.add(new Day(gc.getTime()), power);
^^^
PVGraph.java:449: error: Month cannot be resolved to a type
s.add(new Month(i + 1, year), power);
^^^^^
PVGraph.java:457: error: JFreeChart cannot be resolved to a type
JFreeChart chart = ChartFactory.createXYAreaChart(
^^^^^^^^^^
PVGraph.java:457: error: ChartFactory cannot be resolved
JFreeChart chart = ChartFactory.createXYAreaChart(
^^^^^^^^^^^^
PVGraph.java:462: error: PlotOrientation cannot be resolved
PlotOrientation.VERTICAL,
^^^^^^^^^^^^^^^
PVGraph.java:470: error: XYPlot cannot be resolved to a type
XYPlot plot = (XYPlot) chart.getPlot();
^^^^^^
PVGraph.java:470: error: XYPlot cannot be resolved to a type
XYPlot plot = (XYPlot) chart.getPlot();
^^^^^^
PVGraph.java:521: error: ApplicationFrame cannot be resolved to a type
super.windowClosing(event);
^^^^^
100 problems (100 errors)
jbertrand@ubuntu:~/Desktop/PV-Graph-f938f22$ javac -cp "jfreechart-1.0.13/lib/*" PVGraph.java
gcj-4.4: jfreechart-1.0.13/lib/*: Aucun fichier ou dossier de ce type
PVGraph.java:17: error: The import org.jfree cannot be resolved
import org.jfree.chart.ChartFactory;
^^^^^^^^^
PVGraph.java:18: error: The import org.jfree cannot be resolved
import org.jfree.chart.ChartPanel;
^^^^^^^^^
PVGraph.java:19: error: The import org.jfree cannot be resolved
import org.jfree.chart.JFreeChart;
^^^^^^^^^
PVGraph.java:20: error: The import org.jfree cannot be resolved
import org.jfree.chart.axis.DateAxis;
^^^^^^^^^
PVGraph.java:21: error: The import org.jfree cannot be resolved
import org.jfree.chart.axis.ValueAxis;
^^^^^^^^^
PVGraph.java:22: error: The import org.jfree cannot be resolved
import org.jfree.chart.plot.CategoryPlot;
^^^^^^^^^
PVGraph.java:23: error: The import org.jfree cannot be resolved
import org.jfree.chart.plot.PlotOrientation;
^^^^^^^^^
PVGraph.java:24: error: The import org.jfree cannot be resolved
import org.jfree.chart.plot.XYPlot;
^^^^^^^^^
PVGraph.java:25: error: The import org.jfree cannot be resolved
import org.jfree.chart.renderer.category.AreaRenderer;
^^^^^^^^^
PVGraph.java:26: error: The import org.jfree cannot be resolved
import org.jfree.chart.renderer.category.CategoryItemRenderer;
^^^^^^^^^
PVGraph.java:27: error: The import org.jfree cannot be resolved
import org.jfree.chart.renderer.xy.XYItemRenderer;
^^^^^^^^^
PVGraph.java:28: error: The import org.jfree cannot be resolved
import org.jfree.chart.renderer.xy.XYLineAndShapeRenderer;
^^^^^^^^^
PVGraph.java:29: error: The import org.jfree cannot be resolved
import org.jfree.chart.labels.StandardXYToolTipGenerator;
^^^^^^^^^
PVGraph.java:30: error: The import org.jfree cannot be resolved
import org.jfree.data.time.Day;
^^^^^^^^^
PVGraph.java:31: error: The import org.jfree cannot be resolved
import org.jfree.data.time.Month;
^^^^^^^^^
PVGraph.java:32: error: The import org.jfree cannot be resolved
import org.jfree.data.time.Minute;
^^^^^^^^^
PVGraph.java:33: error: The import org.jfree cannot be resolved
import org.jfree.data.time.TimeSeries;
^^^^^^^^^
PVGraph.java:34: error: The import org.jfree cannot be resolved
import org.jfree.data.time.TimeSeriesCollection;
^^^^^^^^^
PVGraph.java:35: error: The import org.jfree cannot be resolved
import org.jfree.data.xy.XYDataset;
^^^^^^^^^
PVGraph.java:36: error: The import org.jfree cannot be resolved
import org.jfree.data.category.CategoryDataset;
^^^^^^^^^
PVGraph.java:37: error: The import org.jfree cannot be resolved
import org.jfree.data.category.DefaultCategoryDataset;
^^^^^^^^^
PVGraph.java:38: error: The import org.jfree cannot be resolved
import org.jfree.ui.ApplicationFrame;
^^^^^^^^^
PVGraph.java:39: error: The import org.jfree cannot be resolved
import org.jfree.ui.RectangleInsets;
^^^^^^^^^
PVGraph.java:40: error: The import org.jfree cannot be resolved
import org.jfree.ui.RefineryUtilities;
^^^^^^^^^
PVGraph.java:42: error: ApplicationFrame cannot be resolved to a type
public class PVGraph extends ApplicationFrame {
^^^^^^^^^^^^^^^^
PVGraph.java:80: error: The method setContentPane(JTabbedPane) is undefined for the type PVGraph
setContentPane(tabPane);
^^^^^^^^^^^^^^
PVGraph.java:81: error: The method pack() is undefined for the type PVGraph
pack();
^^^^
PVGraph.java:82: error: The method setVisible(boolean) is undefined for the type PVGraph
setVisible(true);
^^^^^^^^^^
PVGraph.java:90: error: ChartPanel cannot be resolved to a type
final ChartPanel dayChartPanel = (ChartPanel)createDayChartPanel();
^^^^^^^^^^
PVGraph.java:90: error: ChartPanel cannot be resolved to a type
final ChartPanel dayChartPanel = (ChartPanel)createDayChartPanel();
^^^^^^^^^^
PVGraph.java:98: error: The method createDayChart() from the type PVGraph refers to the missing type JFreeChart
dayChartPanel.setChart(createDayChart());
^^^^^^^^^^^^^^
PVGraph.java:105: error: The method createDayChart() from the type PVGraph refers to the missing type JFreeChart
dayChartPanel.setChart(createDayChart());
^^^^^^^^^^^^^^
PVGraph.java:113: error: The method createDayChart() from the type PVGraph refers to the missing type JFreeChart
dayChartPanel.setChart(createDayChart());
^^^^^^^^^^^^^^
PVGraph.java:120: error: The method createDayChart() from the type PVGraph refers to the missing type JFreeChart
dayChartPanel.setChart(createDayChart());
^^^^^^^^^^^^^^
PVGraph.java:128: error: The method createDayChart() from the type PVGraph refers to the missing type JFreeChart
dayChartPanel.setChart(createDayChart());
^^^^^^^^^^^^^^
PVGraph.java:135: error: The method createDayChart() from the type PVGraph refers to the missing type JFreeChart
dayChartPanel.setChart(createDayChart());
^^^^^^^^^^^^^^
PVGraph.java:165: error: ChartPanel cannot be resolved to a type
final ChartPanel monthChartPanel = (ChartPanel)createMonthChartPanel();
^^^^^^^^^^
PVGraph.java:165: error: ChartPanel cannot be resolved to a type
final ChartPanel monthChartPanel = (ChartPanel)createMonthChartPanel();
^^^^^^^^^^
PVGraph.java:173: error: The method createMonthChart() from the type PVGraph refers to the missing type JFreeChart
monthChartPanel.setChart(createMonthChart());
^^^^^^^^^^^^^^^^
PVGraph.java:180: error: The method createMonthChart() from the type PVGraph refers to the missing type JFreeChart
monthChartPanel.setChart(createMonthChart());
^^^^^^^^^^^^^^^^
PVGraph.java:188: error: The method createMonthChart() from the type PVGraph refers to the missing type JFreeChart
monthChartPanel.setChart(createMonthChart());
^^^^^^^^^^^^^^^^
PVGraph.java:195: error: The method createMonthChart() from the type PVGraph refers to the missing type JFreeChart
monthChartPanel.setChart(createMonthChart());
^^^^^^^^^^^^^^^^
PVGraph.java:223: error: ChartPanel cannot be resolved to a type
final ChartPanel yearChartPanel = (ChartPanel)createYearChartPanel(false);
^^^^^^^^^^
PVGraph.java:223: error: ChartPanel cannot be resolved to a type
final ChartPanel yearChartPanel = (ChartPanel)createYearChartPanel(false);
^^^^^^^^^^
PVGraph.java:230: error: The method createYearChart(boolean) from the type PVGraph refers to the missing type JFreeChart
yearChartPanel.setChart(createYearChart(detailedButton.isSelected()));
^^^^^^^^^^^^^^^
PVGraph.java:238: error: The method createYearChart(boolean) from the type PVGraph refers to the missing type JFreeChart
yearChartPanel.setChart(createYearChart(detailedButton.isSelected()));
^^^^^^^^^^^^^^^
PVGraph.java:245: error: The method createYearChart(boolean) from the type PVGraph refers to the missing type JFreeChart
yearChartPanel.setChart(createYearChart(detailedButton.isSelected()));
^^^^^^^^^^^^^^^
PVGraph.java:268: error: JFreeChart cannot be resolved to a type
JFreeChart chart = createDayChart();
^^^^^^^^^^
PVGraph.java:268: error: The method createDayChart() from the type PVGraph refers to the missing type JFreeChart
JFreeChart chart = createDayChart();
^^^^^^^^^^^^^^
PVGraph.java:269: error: ChartPanel cannot be resolved to a type
ChartPanel panel = new ChartPanel(chart);
^^^^^^^^^^
PVGraph.java:269: error: ChartPanel cannot be resolved to a type
ChartPanel panel = new ChartPanel(chart);
^^^^^^^^^^
PVGraph.java:276: error: JFreeChart cannot be resolved to a type
JFreeChart chart = createMonthChart();
^^^^^^^^^^
PVGraph.java:276: error: The method createMonthChart() from the type PVGraph refers to the missing type JFreeChart
JFreeChart chart = createMonthChart();
^^^^^^^^^^^^^^^^
PVGraph.java:277: error: ChartPanel cannot be resolved to a type
ChartPanel panel = new ChartPanel(chart);
^^^^^^^^^^
PVGraph.java:277: error: ChartPanel cannot be resolved to a type
ChartPanel panel = new ChartPanel(chart);
^^^^^^^^^^
PVGraph.java:284: error: JFreeChart cannot be resolved to a type
JFreeChart chart = createYearChart(detailed);
^^^^^^^^^^
PVGraph.java:284: error: The method createYearChart(boolean) from the type PVGraph refers to the missing type JFreeChart
JFreeChart chart = createYearChart(detailed);
^^^^^^^^^^^^^^^
PVGraph.java:285: error: ChartPanel cannot be resolved to a type
ChartPanel panel = new ChartPanel(chart);
^^^^^^^^^^
PVGraph.java:285: error: ChartPanel cannot be resolved to a type
ChartPanel panel = new ChartPanel(chart);
^^^^^^^^^^
PVGraph.java:291: error: JFreeChart cannot be resolved to a type
private JFreeChart createDayChart() {
^^^^^^^^^^
PVGraph.java:299: error: TimeSeriesCollection cannot be resolved to a type
TimeSeriesCollection dataset = new TimeSeriesCollection();
^^^^^^^^^^^^^^^^^^^^
PVGraph.java:299: error: TimeSeriesCollection cannot be resolved to a type
TimeSeriesCollection dataset = new TimeSeriesCollection();
^^^^^^^^^^^^^^^^^^^^
PVGraph.java:303: error: TimeSeries cannot be resolved to a type
TimeSeries s = new TimeSeries(dd.inverter + (dayData.size() > 1? ("-" + dd.serial) : ""));
^^^^^^^^^^
PVGraph.java:303: error: TimeSeries cannot be resolved to a type
TimeSeries s = new TimeSeries(dd.inverter + (dayData.size() > 1? ("-" + dd.serial) : ""));
^^^^^^^^^^
PVGraph.java:305: error: Minute cannot be resolved to a type
s.add(new Minute(dd.times.get(i)), dd.powers.get(i));
^^^^^^
PVGraph.java:311: error: JFreeChart cannot be resolved to a type
JFreeChart chart = ChartFactory.createXYAreaChart(
^^^^^^^^^^
PVGraph.java:311: error: ChartFactory cannot be resolved
JFreeChart chart = ChartFactory.createXYAreaChart(
^^^^^^^^^^^^
PVGraph.java:316: error: PlotOrientation cannot be resolved
PlotOrientation.VERTICAL,
^^^^^^^^^^^^^^^
PVGraph.java:324: error: XYPlot cannot be resolved to a type
XYPlot plot = (XYPlot) chart.getPlot();
^^^^^^
PVGraph.java:324: error: XYPlot cannot be resolved to a type
XYPlot plot = (XYPlot) chart.getPlot();
^^^^^^
PVGraph.java:328: error: RectangleInsets cannot be resolved to a type
plot.setAxisOffset(new RectangleInsets(5.0, 5.0, 5.0, 5.0));
^^^^^^^^^^^^^^^
PVGraph.java:337: error: ValueAxis cannot be resolved to a type
ValueAxis powerAxis = plot.getRangeAxis();
^^^^^^^^^
PVGraph.java:343: error: XYItemRenderer cannot be resolved to a type
XYItemRenderer r = plot.getRenderer();
^^^^^^^^^^^^^^
PVGraph.java:344: error: StandardXYToolTipGenerator cannot be resolved
r.setBaseToolTipGenerator(StandardXYToolTipGenerator.getTimeSeriesInstance());
^^^^^^^^^^^^^^^^^^^^^^^^^^
PVGraph.java:352: error: DateAxis cannot be resolved to a type
DateAxis axis = new DateAxis();
^^^^^^^^
PVGraph.java:352: error: DateAxis cannot be resolved to a type
DateAxis axis = new DateAxis();
^^^^^^^^
PVGraph.java:360: error: JFreeChart cannot be resolved to a type
private JFreeChart createMonthChart() {
^^^^^^^^^^
PVGraph.java:367: error: DefaultCategoryDataset cannot be resolved to a type
DefaultCategoryDataset dataset = new DefaultCategoryDataset();
^^^^^^^^^^^^^^^^^^^^^^
PVGraph.java:367: error: DefaultCategoryDataset cannot be resolved to a type
DefaultCategoryDataset dataset = new DefaultCategoryDataset();
^^^^^^^^^^^^^^^^^^^^^^
PVGraph.java:386: error: JFreeChart cannot be resolved to a type
JFreeChart chart = ChartFactory.createBarChart(
^^^^^^^^^^
PVGraph.java:386: error: ChartFactory cannot be resolved
JFreeChart chart = ChartFactory.createBarChart(
^^^^^^^^^^^^
PVGraph.java:391: error: PlotOrientation cannot be resolved
PlotOrientation.VERTICAL,
^^^^^^^^^^^^^^^
PVGraph.java:399: error: CategoryPlot cannot be resolved to a type
CategoryPlot plot = (CategoryPlot)chart.getPlot();
^^^^^^^^^^^^
PVGraph.java:399: error: CategoryPlot cannot be resolved to a type
CategoryPlot plot = (CategoryPlot)chart.getPlot();
^^^^^^^^^^^^
PVGraph.java:403: error: RectangleInsets cannot be resolved to a type
plot.setAxisOffset(new RectangleInsets(5.0, 5.0, 5.0, 5.0));
^^^^^^^^^^^^^^^
PVGraph.java:408: error: ValueAxis cannot be resolved to a type
ValueAxis powerAxis = plot.getRangeAxis();
^^^^^^^^^
PVGraph.java:414: error: CategoryItemRenderer cannot be resolved to a type
CategoryItemRenderer r = plot.getRenderer();
^^^^^^^^^^^^^^^^^^^^
PVGraph.java:424: error: JFreeChart cannot be resolved to a type
private JFreeChart createYearChart(boolean detailed) {
^^^^^^^^^^
PVGraph.java:430: error: TimeSeriesCollection cannot be resolved to a type
TimeSeriesCollection dataset = new TimeSeriesCollection();
^^^^^^^^^^^^^^^^^^^^
PVGraph.java:430: error: TimeSeriesCollection cannot be resolved to a type
TimeSeriesCollection dataset = new TimeSeriesCollection();
^^^^^^^^^^^^^^^^^^^^
PVGraph.java:434: error: TimeSeries cannot be resolved to a type
TimeSeries s = new TimeSeries(pd.inverter + (periodData.size() > 1? ("-" + pd.serial) : ""));
^^^^^^^^^^
PVGraph.java:434: error: TimeSeries cannot be resolved to a type
TimeSeries s = new TimeSeries(pd.inverter + (periodData.size() > 1? ("-" + pd.serial) : ""));
^^^^^^^^^^
PVGraph.java:446: error: Day cannot be resolved to a type
s.add(new Day(gc.getTime()), power);
^^^
PVGraph.java:449: error: Month cannot be resolved to a type
s.add(new Month(i + 1, year), power);
^^^^^
PVGraph.java:457: error: JFreeChart cannot be resolved to a type
JFreeChart chart = ChartFactory.createXYAreaChart(
^^^^^^^^^^
PVGraph.java:457: error: ChartFactory cannot be resolved
JFreeChart chart = ChartFactory.createXYAreaChart(
^^^^^^^^^^^^
PVGraph.java:462: error: PlotOrientation cannot be resolved
PlotOrientation.VERTICAL,
^^^^^^^^^^^^^^^
PVGraph.java:470: error: XYPlot cannot be resolved to a type
XYPlot plot = (XYPlot) chart.getPlot();
^^^^^^
PVGraph.java:470: error: XYPlot cannot be resolved to a type
XYPlot plot = (XYPlot) chart.getPlot();
^^^^^^
PVGraph.java:521: error: ApplicationFrame cannot be resolved to a type
super.windowClosing(event);
^^^^^
100 problems (100 errors)
djemac@ubuntu:~/Desktop/PV-Graph-f938f22$ make
javac -d build -cp "/home/djemac/Desktop/PV-Graph-f938f22/jfreechart-1.0.13/lib/*" PVGraph.java
gcj-4.4: /home/djemac/Desktop/PV-Graph-f938f22/jfreechart-1.0.13/lib/*: Aucun fichier ou dossier de ce type
and them lots of errors...
it seems I have got a problem, javac is not able to find the jfreechart folder...
However...it is at the right place (I guess)
djemac@ubuntu:~/Desktop/PV-Graph-f938f22$ ls -al
total 64
drwxrwxr-x 4 djemac djemac 4096 2011-02-16 18:33 .
drwxr-xr-x 4 djemac djemac 4096 2011-02-15 21:04 ..
drwxr-xr-x 2 djemac djemac 4096 2011-02-16 08:03 build
-rw-rw-r-- 1 djemac djemac 49 2011-02-16 00:46 .gitignore
drwxr-xr-x 10 djemac djemac 4096 2011-02-15 21:11 jfreechart-1.0.13
-rw-rw-r-- 1 djemac djemac 243 2011-02-16 18:33 Makefile
-rw-r--r-- 1 djemac djemac 0 2011-02-16 18:22 nouveau fichier
-rw-rw-r-- 1 djemac djemac 27556 2011-02-16 00:46 PVGraph.java
-rw-r--r-- 1 djemac djemac 373 2011-02-16 07:57 pvgraph.properties
-rwxrwxr-x 1 djemac djemac 191 2011-02-16 00:46 pvgraph.sh
-rw-rw-r-- 1 djemac djemac 1673 2011-02-16 00:46 README.md
What am I doing wrong ?
Jerome
your system is set up to use gcj as a java compiler (which basically
means you haven't installed a Java development kit, so your system
is using the one coming with your C compiler - but that one has some
compatibility issues.) My guess is that gcj doesn't understand
the globbing syntax (the "*") for classpath entries.
What you should do: Install a "proper" Java development kit (JDK),
either Sun JDK or OpenJDK should be available through your package
manager. Try again. If you get "lots of errors" again, please post
them.
Oliver
On 02/16/2011 06:40 PM, Jerome wrote:
> Hi,
>
> djemac@ubuntu:~/Desktop/PV-Graph-f938f22$ make
> javac -d build -cp "/home/djemac/Desktop/PV-Graph-f938f22/jfreechart-1.0.13/lib/*" PVGraph.java
>
> gcj-4.4: /home/djemac/Desktop/PV-Graph-f938f22/jfreechart-1.0.13/lib/*: Aucun fichier ou dossier de ce type
> and them lots of errors...
>
> it seems I have got a problem, javac is not able to find the jfreechart folder...
>
> However...it is at the right place (I guess)
>
> djemac@ubuntu:~/Desktop/PV-Graph-f938f22$ ls -al
> total 64
> drwxrwxr-x 4 djemac djemac 4096 2011-02-16 18:33 .
> drwxr-xr-x 4 djemac djemac 4096 2011-02-15 21:04 ..
> drwxr-xr-x 2 djemac djemac 4096 2011-02-16 08:03 build
> -rw-rw-r-- 1 djemac djemac 49 2011-02-16 00:46 .gitignore
> drwxr-xr-x 10 djemac djemac 4096 2011-02-15 21:11 jfreechart-1.0.13
> -rw-rw-r-- 1 djemac djemac 243 2011-02-16 18:33 Makefile
> -rw-r--r-- 1 djemac djemac 0 2011-02-16 18:22 nouveau fichier
> -rw-rw-r-- 1 djemac djemac 27556 2011-02-16 00:46 PVGraph.java
> -rw-r--r-- 1 djemac djemac 373 2011-02-16 07:57 pvgraph.properties
> -rwxrwxr-x 1 djemac djemac 191 2011-02-16 00:46 pvgraph.sh
> -rw-rw-r-- 1 djemac djemac 1673 2011-02-16 00:46 README.md
>
> What am I doing wrong ?
>
> Jerome
> Le 15 f�vr. 2011 � 22:57, burtoogle a �crit :