Batch file

Hi all,Do you any page about writting batch file in Java? In fact, I want to write a batch file to do:- Compile my codes- Start rmiregistry- Run my server code.I don't how to start rmiregistry within a batch file? Please help me!Best regards!
[299 byte] By [tuyet] at [2007-9-26 2:19:30]
# 1
Hi,Please see java.lang.Runtime.exec().ThanksBakrudeen
bakrudeen_indts at 2007-6-29 9:22:05 > top of Java-index,Archived Forums,Java Programming...
# 2
Why do you need to use java for this?It is so easy, just write the batch.of course this is platform specific. but...-- doAll.sh-#!/usr/bin/bashcd myPath.javac *.javarmiregistry &java myServer --
tmonteit at 2007-6-29 9:22:05 > top of Java-index,Archived Forums,Java Programming...