Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Nothing happens with CommandLine

807600Jun 20 2007 — edited Jun 20 2007
For some reason my program won't run from the command line. I don't get any error messages, just nothing.

I go into Dos, navigate to C:\Program Files\Java\jdk1.6.0\bin and then I type in javac Echo.java. For about 2 seconds the caption of the Dos window changes from "C:\Windows\system32\cmd.exe" to "C:\Windows\system32\cmd.exe - Echo.java" before going back "C:\Windows\system32\cmd.exe". Nothing else happens.

Yes, I have compiled my program, and yes it should print stuff and ask for user input. I tried running another simple program from the Command Line with the same "result".
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 18 2007
Added on Jun 20 2007
6 comments
902 views