Jcop.exe startup/shutdown

Hello everyone, again!

I need to start and stop jcop simulator externally - through Ant facilities. With start there isn't problem, but it is with stop. I don't know how i can stop simulator process running.

Jcop.exe tells us command-line parameters we can use:

Usage: jcop [-port=<port>] [-custom=imagefile] [-fab=imagefile] [-s] [-d] [-v=level] [-coco=<path>] [-noboot] [-jcdwp[:port=<port>][,verbose][,socktrace]]

But it doesn't tell how to stop itself... You remember, when we use JCOP Tools to execute applet within simulator - simulator process exists even if we quit the shell. May be there's no stop function at all, except for Ctrl-C? But it's not good.

What do you think about it?

Regards, Eugene

[772 byte] By [Barkalova] at [2007-10-2 5:14:59]
# 1
You can quit the JCOP simulation process with the following Shell command: /remote exit
mkdataa at 2007-7-16 1:17:27 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 2

Thank you, mkdata, for your answer.

I think it will help me in the future, but actually I wanted to know how to stop jcop simulator process externally. For example, Tomcat server has separate batch files to start and stop it. With Jcop.exe we have -s (start)command, but what about stop?

It seems, if i won't find the answer, i'll have to stop it through the JCShell.

Regards, Eugene

Barkalova at 2007-7-16 1:17:27 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 3
I don't think -s is for start .. on the old JCOP simulations (2.1) this parameter was to turn on slow-speed EEPROM emulation. I am not aware of any method to terminate the simulations other than CTRL-C or through the Shell.
mkdataa at 2007-7-16 1:17:27 > top of Java-index,Java Mobility Forums,Consumer and Commerce...