Francisco, Have you set the PATH environmental variable to point to javac? This tells Windows where to look for the compiler (other wise you have to type the full file path to javac every time you want to comile a .java file)
The Sun tutorial at http://java.sun.com/docs/books/tutorial/getStarted/problems/index.html explains the problem and has a link to instructions on how to set the PATH. It also has information on setting the CLASSPATH which tells Windows in which folders to look for .class files. Regards, Jim Francisco Figueroa Pérez 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 > 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 , > 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 > of why I am having problems executing *.class with java command eventhough I > am located in the folder where the files are, thank you. > > -- > Francisco Figueroa P�rez --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
