This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: Parameter passing to Java Program using Kawa
- From: Jim White <jim at pagesmiths dot com>
- To: <kawa at sourceware dot cygnus dot com>
- Date: Thu, 29 Nov 2001 10:56:19 -0800
- Subject: Re: Parameter passing to Java Program using Kawa
At 07:55 PM 11/29/2001 +0530, Nikhil Gaikwad wrote:
>How do I pass parameters to a Java Program while running it through Kawa
>...
You will find the variable "command-line-arguments" in the Kawa docs under
the Extensions:Miscellaneous section. It will contain the parameters that
are not already processed by Kawa (that following "-e, -c, -f, -s, --, -w,
or --server).
http://www.gnu.org/software/kawa/kawa_8.html#SEC51
So if you start with:
java -jar kawa.jar -- Hello
then:
(write command-line-arguments)
will output:
#("Hello")
jim
----------------------------------------------------------------
James P. White Netscape DevEdge Champion for IFC
IFC Exchange * Insanely great Java * http://www.ifcx.org
jim@pagesmiths.com Pagesmiths' home is http://www.pagesmiths.com