build+run.bat

来自「codebook!」· Batch 代码 · 共 14 行

BAT
14
字号
# Build the class files
javac -d . *.java
# Build the stubs for the Registrar
rmic  -d . com.darwinsys.callback.TickerServerImpl
# Build the stubs for the Client Agent
rmic  -d . com.darwinsys.client.ClientProgram
# detached: use "start" on M$ and delete it, use "&" at the end, on *NIX
# Run the RMI Registry
start rmiregistry
# Run the Registrar Server
start java ServerMain
# Run the client (in a different window)
start java com.darwinsys.client.ClientProgram

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?