On DOS, you can use unzip386.exe to extract.
set PATH=c:\kaffepc\bin set KAFFEHOME=c:/kaffepc set CLASSPATH=<user-jar or user-zip files>Note that environment variables KAFFEHOME and CLASSPATH use '/' as a separater. If you need, you can add zip/jar files to CLASSPATH.
Note: Since KaffePC 1.0 beta3, system classes (klasses.jar and kaffepc.jar) is automatically added at invoke system.
Furthermore, KaffePC/VM recognize all of files %KAFFEHOME%/lib/ext/*.jar and add these filese to CLASSPATH automatically. the order of addition to CLASSPATH is below.
C:\> kaffe <Class name have appropriate main method>To invoke multiple class simultaneously, see KaffePC Launcher.
set LANG=ja_JP.SJISAnd to set Japanese standard timezone, set following environment variables.
set TZ=JST-9
kaffepc.net.boot=false kaffepc.net.my_ip=192.168.0.10 kaffepc.net.netmask=255.255.255.0 kaffepc.net.nameserver.0=192.168.0.1 kaffepc.net.nameserver.1=192.168.0.2 kaffepc.net.gateway=192.168.0.1 kaffepc.net.hostname=venus
set 387=N set emu387=c:/kaffepc/bin/emu387.dxe
<Name>=<Real Name> ...where <Name> is the filen name used by program, <Real Name> is actually accessed file name. And the line have '#'(sharp) character beginning of it is recognized as the comment.
Sample _kptrans.tbl:
javax.comm.properties=jv-comm.pro kaffepc.net.properties=kp-net.proIn this situation, javax.comm.properties mapped jv-comm.pro and kaffepc.net.properties mapped kp-net.pro.
c:\> ping <hostname>If connection success, this command print to standard output:
<hostname> is alive.
usage:
c:\> launcherKaffePC Launcher invoke KaffePC/VM with multiple java applications corresponding with contents of %KAFFEHOME%\lib\kp-lnchr.pro. The form of kp-lnchr.pro is described below.
kaffepc.launcher.class.<Application No>=<Main Class Name> kaffepc.launcher.args.<Application No>=<Main Args> ...where <Application No> is the application number starting 0, <Main Class Name> is the class name invoke, <Main Args> is arguments of it. And the line have '#'(sharp) character beginning of it is recognized as the comment.
Sample kp-lnchr.pro:
kaffepc.launcher.class.0=App1 kaffepc.launcher.args.0=param1 param2 kaffepc.launcher.class.1=App2It is equivarent to execute parallel following commands.
c:\> kaffe App1 param1 param2 c:\> kaffe App2