CLI-based query

Hi,

I have a CLI-based application and I need to avaoid giving Java-specific subcommands to launch it.

Normally, to run the application, I give:

c:>java -jar myapplication.jar -start

I need to change this to:

c:>myapplication -start

i.e "java -jar" is to be removed.

I want to know if it is feasible to do this? How is this achieved?

Please guide.

Regards,

Jay

[434 byte] By [jay@jaya] at [2007-10-1 22:28:12]
# 1
Make a shell script or batch file which will do it and invoke this script instead of java.
sztejkata at 2007-7-13 8:42:35 > top of Java-index,Java Essentials,New To Java...
# 2
> Hi,> > I have a CLI-based application and I need to avaoid> giving Java-specific subcommands to launch it.On windows? See http://forum.java.sun.com/thread.jspa?threadID=588147
hemal.pandyaa at 2007-7-13 8:42:35 > top of Java-index,Java Essentials,New To Java...