Passing parameters

Using the Java SDK with TextPad

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

Post Reply
Sarah

Passing parameters

Post by Sarah »

I am new to using TextPad and JDK. I just figured out to pass a parameter when I run a Java application. But how to I pass multiple parameters? Is there a certain notation or syntax that I need to use?

Thanks.
Henrik Skafsgaard Larsen

Re: Passing parameters

Post by Henrik Skafsgaard Larsen »

Just use space between the parameters like:
MyClass parm1 parm2 etc.

mvh / regards
Henrik S. Larsen
Ken Januski

Re: Passing parameters

Post by Ken Januski »

Is there any way to set default parameters? I'm finding that I need to pass the classpath parameters every time I compile. They are set correctly outside of TextPad but I can't seem to get TextPad to recognize them, other than by typing them in each time I compile.
Post Reply