Hi,
On 6 Dez., 03:09, "Francisco Figueroa Pérez" <[EMAIL PROTECTED]> wrote: > javac doesnt work in command , so I had to create the *.class files using > windows , right click to the files and open with and then selecting the file What's the result you are seeing in your command window? > javac that is in C:\Archivos de programa\Java\jdk1.6.0_10\bin , the hello > application hasnt shown any problems but once I tried to create classes > related with packages , the class files are not executed by java *.class , It is hard to say, what's wrong, when we don't know your directroy structure with the position where you start the command and what the setting of the CLASSPATH is. java can only execute the class with the main-method. This is either set in the MANIFEST-file of a jar archive or directly given by name, without the .class extension. > even though I am located in the folder where the files are, could you guys > tell me how to make the javac works in command , and any possible sugestions Just tell us what the javac-command returns, when executed on the command line. Maybee its not on the PATH. > of why I am having problems executing *.class with java command eventhough I > am located in the folder where the files are, thank you. > HTH Ewald --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~---
