compilando com java no debian sarge
Olá dos 3 programas .java somente o Thermodynamics.java compilou
Allguém poderia me ajudar , uso debian sarge, estes erros é porque faltam
algum pacote que tenho que instalar?
obrigado
wel@Julia:~/kip/physics/org/opensourcephysics/stp/wanglandau$ ls
Thermodynamics.java WangLandauApplet.java WangLandau.java
wel@Julia:~/kip/physics/org/opensourcephysics/stp/wanglandau$ javac
WangLandau.java
Found 25 semantic errors compiling "WangLandau.java":
2. import org.opensourcephysics.controls.*;
^----------------------------^
*** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Jikes could not find package
"org.opensourcephysics.controls" in:
/usr/lib/kaffe/pthreads/jre/lib/rt.jar
.
3. import org.opensourcephysics.display.*;
^---------------------------^
*** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Jikes could not find package
"org.opensourcephysics.display" in:
/usr/lib/kaffe/pthreads/jre/lib/rt.jar
.
9. public class WangLandau extends AbstractAnimation {
^---------------^
*** Semantic Error: Type
"org.opensourcephysics.stp.wanglandau.AbstractAnimation" was not found.
10. PlottingPanel histogramPanel, densityPanel, heatPanel;
^-----------^
*** Semantic Error: Type
"org.opensourcephysics.stp.wanglandau.PlottingPanel" was not found.
11. Dataset histogramData, densityData, heatData;
^-----^
*** Semantic Error: Type "org.opensourcephysics.stp.wanglandau.Dataset"
was not found.
103. control.println("mcs = " + mcs);
^-----^
*** Semantic Error: No accessible field named "control" was found in type
"org.opensourcephysics.stp.wanglandau.WangLandau".
104. control.println("iteration = " + iterations);
^-----^
*** Semantic Error: No accessible field named "control" was found in type
"org.opensourcephysics.stp.wanglandau.WangLandau".
128. heatData.append(T, Thermodynamics.heatCapacity(N, g, 1/T));
^------------^
*** Semantic Error: No accessible field named "Thermodynamics" was found
in type "org.opensourcephysics.stp.wanglandau.WangLandau".
130. heatData.append(T, Thermodynamics.heatCapacity(N, g, 1/T));
^------------^
*** Semantic Error: No accessible field named "Thermodynamics" was found
in type "org.opensourcephysics.stp.wanglandau.WangLandau".
139. L = control.getInt("L");
^-----^
*** Semantic Error: No accessible field named "control" was found in type
"org.opensourcephysics.stp.wanglandau.WangLandau".
149. control.clearMessages();
^-----^
*** Semantic Error: No accessible field named "control" was found in type
"org.opensourcephysics.stp.wanglandau.WangLandau".
154. control.setValue("L", 16);
^-----^
*** Semantic Error: No accessible field named "control" was found in type
"org.opensourcephysics.stp.wanglandau.WangLandau".
160. densityPanel = new PlottingPanel("E", "ln g(E)", "");
^-----------^
*** Semantic Error: Type "PlottingPanel" was not found.
161. densityPanel.addDrawable(densityData = new
Dataset(Color.blue));
^-----^
*** Semantic Error: Type "Dataset" was not found.
164. DrawingFrame frame = new DrawingFrame("Density of States",
densityPanel);
^----------^
*** Semantic Error: Type
"org.opensourcephysics.stp.wanglandau.DrawingFrame" was not found.
164. DrawingFrame frame = new DrawingFrame("Density of States",
densityPanel);
^----------^
*** Semantic Error: Type "DrawingFrame" was not found.
166. histogramPanel = new PlottingPanel("E", "H(E)", "");
^-----------^
*** Semantic Error: Type "PlottingPanel" was not found.
167. histogramPanel.addDrawable(histogramData = new Dataset());
^-----^
*** Semantic Error: Type "Dataset" was not found.
170. frame = new DrawingFrame("Histogram", histogramPanel);
^----------^
*** Semantic Error: Type "DrawingFrame" was not found.
172. heatPanel = new PlottingPanel("T", "C(T)", "");
^-----------^
*** Semantic Error: Type "PlottingPanel" was not found.
173. heatPanel.addDrawable(heatData = new Dataset(Color.black,
Color.red, true));
^-----^
*** Semantic Error: Type "Dataset" was not found.
179. frame = new DrawingFrame("Heat Capacity", heatPanel);
^----------^
*** Semantic Error: Type "DrawingFrame" was not found.
185. Control control = new AnimationControl(app);
^-----^
*** Semantic Error: Type "org.opensourcephysics.stp.wanglandau.Control"
was not found.
185. Control control = new AnimationControl(app);
^--------------^
*** Semantic Error: Type
"org.opensourcephysics.stp.wanglandau.AnimationControl" was not found.
186. app.setControl(control);
^---------------------^
*** Semantic Error: No accessible method with signature "setControl(??)"
was found in type "org.opensourcephysics.stp.wanglandau.WangLandau".
wel@Julia:~/kip/physics/org/opensourcephysics/stp/wanglandau$
wel@Julia:~/kip/physics/org/opensourcephysics/stp/wanglandau$ javac
WangLandauApplet.java
Found 8 semantic errors compiling "WangLandauApplet.java":
2. import org.opensourcephysics.stp.applets.*;
^-------------------------------^
*** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Jikes could not find package
"org.opensourcephysics.stp.applets" in:
/usr/lib/kaffe/pthreads/jre/lib/rt.jar
.
4. public class WangLandauApplet extends STPApplet {
^-------^
*** Semantic Error: Type "org.opensourcephysics.stp.wanglandau.STPApplet"
was not found.
6. WangLandau hist = new WangLandau();
^--------^
*** Semantic Error: Type "org.opensourcephysics.stp.wanglandau.WangLandau"
was not found.
6. WangLandau hist = new WangLandau();
^--------^
*** Semantic Error: Type "WangLandau" was not found.
7. STPAnimationControl c = new
STPAnimationControl(hist);
^-----------------^
*** Semantic Error: Type
"org.opensourcephysics.stp.wanglandau.STPAnimationControl" was not found.
7. STPAnimationControl c = new
STPAnimationControl(hist);
^-----------------^
*** Semantic Error: Type "STPAnimationControl" was not found.
10. startAnimation(hist,c);
^--------------------^
*** Semantic Error: No accessible method with signature
"startAnimation(??, ??)" was found in type
"org.opensourcephysics.stp.wanglandau.WangLandauApplet".
16. AppletHelper.run(applet);
^----------^
*** Semantic Error: No accessible field named "AppletHelper" was found in
type "org.opensourcephysics.stp.wanglandau.WangLandauApplet".
wel@Julia:~/kip/physics/org/opensourcephysics/stp/wanglandau$
wel@Julia:~/kip/physics/org/opensourcephysics/stp/wanglandau$ ls
Thermodynamics.class Thermodynamics.java WangLandauApplet.java
WangLandau.java
wel@Julia:~/kip/physics/org/opensourcephysics/stp/wanglandau$ javac
Thermodynamics.java
wel@Julia:~/kip/physics/org/opensourcephysics/stp/wanglandau$
wel@Julia:~/kip/physics/org/opensourcephysics/stp/wanglandau$ ls
Thermodynamics.class Thermodynamics.java WangLandauApplet.java
WangLandau.java
wel@Julia:~/kip/physics/org/opensourcephysics/stp/wanglandau$
F. W. S. Lima
Departamento de Física
Centro de Ciência da Natureza
Campus Petrônio Portela
Universidade Federal do Piauí
Teresina-Piauí-Brasil
wel@ufpi.br,wel@fisica.ufc.br, wel@sobral.org
Reply to: