Newbie question

Using the Java SDK with TextPad

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

Post Reply
Phil Urich

Newbie question

Post by Phil Urich »

I know it's a newbie question but it's stumping me. I can compile a java program without errors but how do I execute it?
peter

Re: Newbie question

Post by peter »

You just type, at the command prompt:

java XYZ

where XYZ is the name of your compiled class file.

It should run fine so long as the source file has no logical errors

Peter
peter

Re: Newbie question

Post by peter »

You just type, at the command prompt:

java XYZ

where XYZ is the name of your compiled class file.

It should run fine so long as the source file has no logical errors

Peter
Post Reply