Problem Compiling in Linux

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
jezzy_ph
Posts: 3
Joined: Wed Mar 03, 2004 6:34 am

Problem Compiling in Linux

Post by jezzy_ph » Fri Mar 05, 2004 3:29 pm

Hi, I tried to create my own line chart in linux but I can't seem to compile it properly......

This is what I enter in the command prompt:

/usr/java/j2sdk1.4.1_05/bin/javac - classpath /user/java/j2sdk1.4.1_05/
jcommon-0.9.1.jar:/root/ClumsyV9:/usr/java/j2sdk1.4.1_05/jfreechart-0.9.16.jar Temp.java

But I always end up with the following errors:

/root/ClumsyV9/SystemMonitorGraph.java:108: cannot access org.jfree.util.PublicCloneable
file org/jfree/util/PublicCloneable.class not found
axis.setFixedAutoRange(60000.0); // 60 seconds
^
/root/ClumsyV9/SystemMonitorGraph.java:176: cannot access org.jfree.ui.Drawable
file org/jfree/ui/Drawable.class not found
ChartPanel chartPanel2 = new ChartPanel(chart2);
^
/root/ClumsyV9/SystemMonitorGraph.java:204: cannot resolve symbol
symbol : variable chartPanel
location: class SystemMonitorGraph
content.add(chartPanel);
^
/root/ClumsyV9/SystemMonitorGraph.java:234: cannot resolve symbol
symbol : variable chartPanel
location: class SystemMonitorGraph
chartPanel.setBounds(10, 10, 600, 170);
^
4 errors


What should I do?

Thanks,
Jessamine

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Fri Mar 05, 2004 3:31 pm

It is not finding jcommon-0.9.1.jar, so double check where that file is and how you have referred to it in the classpath.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked