Getting MS-DOS Command Line to "Run" Java Programs

Using the Java SDK with TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
travelerkgd
Posts: 3
Joined: Mon Jan 23, 2006 4:10 pm

Getting MS-DOS Command Line to "Run" Java Programs

Post by travelerkgd »

Yes, I have recently downloaded this software as this is what we used during the Java portion of my training. However, I cannot get the programs to Run. Hitting the "Run" bbutton produces no response; hitting CTRL-2, brings up the MS-DOS Command line, but I get only a long list that java has particular settings and to press any key to continue. When I do that, the screen dissapears.

It was suggested by my instructor that I try the following, but tehse too did not solve the problem:

C:\>javac anyname.java

or:

C:\>java anyname.class

if your class needs parameters:

C:\>java anyname.class param1 param1

Many thanks for the help.

"travelerkgd"
Post Reply