From: R. M. B. <rmb...@gm...> - 2007-02-09 01:26:06
|
Consider: public class Foo { public static void main(String[] args) { System.out.println("arg 0 = " + args[0]); } } >From the interactions pane: Welcome to DrJava. Working directory is C:\Documents and Settings\Matt.FT8D\Desktop > java Foo "Bar" arg 0 = Bar > Hope that helps, Matt On 2/8/07, Steve Shum <sh...@au...> wrote: > > Hi, > > How do I enter command line arguments using DrJava? > > Thanks. > > steve > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Drjava-users mailing list > Drj...@li... > https://lists.sourceforge.net/lists/listinfo/drjava-users > > |