Olá não funcionou, como é que retiro tudo que instalei referente ao java? Marco Antonio > Você precisa do Java Development Kit, que compila os programas para > rodarem. você deve estar usando um compilador que não é da Sun. Nesse > site tem um tutorial p/ instalar e configurar o JDK e o JRE da sun para > compilar qualquer coisa em java. > > > http://www.linuxdailylog.com/2005/10/instalando-o-java-1505-no-ubuntu-510.html > > espero ajudar, programo em java, usei este tutorial funcionou > perfeitamente. > > []'s > > -- > -------------------------------------------- > Marco Antonio Barbosa Marques > Técnico em Hardware / Software > Cel: (24) 9833-6892 UIN: 04797349 > -------------------------------------------- > > > Citando Francisco Welington de Sousa Lima <[EMAIL PROTECTED]>: > >> 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 >> >> [EMAIL PROTECTED]:~/kip/physics/org/opensourcephysics/stp/wanglandau$ ls >> >> Thermodynamics.java WangLandauApplet.java WangLandau.java >> >> [EMAIL PROTECTED]:~/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". >> [EMAIL PROTECTED]:~/kip/physics/org/opensourcephysics/stp/wanglandau$ >> >> [EMAIL PROTECTED]:~/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". >> [EMAIL PROTECTED]:~/kip/physics/org/opensourcephysics/stp/wanglandau$ >> >> [EMAIL PROTECTED]:~/kip/physics/org/opensourcephysics/stp/wanglandau$ ls >> Thermodynamics.class Thermodynamics.java WangLandauApplet.java >> WangLandau.java >> [EMAIL PROTECTED]:~/kip/physics/org/opensourcephysics/stp/wanglandau$ javac >> Thermodynamics.java >> [EMAIL PROTECTED]:~/kip/physics/org/opensourcephysics/stp/wanglandau$ >> >> [EMAIL PROTECTED]:~/kip/physics/org/opensourcephysics/stp/wanglandau$ ls >> Thermodynamics.class Thermodynamics.java WangLandauApplet.java >> WangLandau.java >> [EMAIL PROTECTED]:~/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 >> [EMAIL PROTECTED],[EMAIL PROTECTED], [EMAIL PROTECTED] >> >> >> >> -- >> To UNSUBSCRIBE, email to >> [EMAIL PROTECTED] with a subject of >> "unsubscribe". Trouble? Contact [EMAIL PROTECTED] >> >> > > ___________________________________________________________________________________ > Tarifa Única DDI - A melhor opção para suas ligações internacionais. Do > fixo ou do celular você paga a mesma tarifa e ainda tem um desconto > especial para ligar para os Estados Unidos. > Saiba mais. Acesse www.embratel.com.br > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED]
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 [EMAIL PROTECTED],[EMAIL PROTECTED], [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

