Hi,
Thank you for responding, I did exactly what you told me to do down to
the last letter
and the cmd is saying that javac is not recognized as an internal or
external command,
operable program or batch file.

On Feb 21, 12:45 pm, Anton Shaykin <[email protected]> wrote:
> Hi, there!
> Suppose, you using Windows, then you have to run Command Prompt first.
> After that go to the directory where your program is (*.java) typing
> in "cd C:\[my directory]". Then type "javac [NameOfProgram].java".
> After the program successfully compiled, type in "java
> [NameOfProgram]". All this stuff you have to do from Command Prompt
> typing appropriate commands, not having to deal with javac.exe
> directly.
> Good luck!
>
> On Feb 21, 8:30 pm, Tomatoe <[email protected]> wrote:
>
>
>
> > Hello, I joined this class after learning about it not long ago
> > through an email, and I am having trouble compiling .java programs
> > that I have made. Specifically I am having difficulty turning them
> > into .class files using javac. I interpreted the intructions as that
> > there is supposed to be a program in JDK 6 that is supposed to compile
> > the .java files and I believe it is supposed to be called javac. I
> > have tried opening the .java program with an application called javac
> > in the directory: C:\Program Files\Java\jdk1.6.0_12\bin. but a cmd
> > window pops up then disappears very quickly without doing anything.
> > Any help would be greatly appreciated. Thank you- Hide quoted text -
>
> - Show quoted text -

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to