precondition:
CLASSPATH=.;%ANT_HOME%\ant.jar;%JACORB_HOME%\lib\idl.jar;%JACORB_HOME%\lib\jacorb.jar;%JACORB_HOME%\lib\logkit-1.2.jar;%JACORB_HOME%\lib\avalon-framework-4.1.5.jar;%JACORB_HOME%\classes;PATH=C:\JacORB\bin;C:\code\NEMS_license\src\forTest;"C:\Program Files\PC Connectivity Solution";"C:\Program Files\Common Files\NetSarang";"C:\Program Files\ThinkPad\Utilities";C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\PROGRA~1\PuTTY;"c:\program files\Intel\wireless\bin";"C:\Program Files\QuickTime\QTSystem";"C:\Program Files\cvsnt";"C:\Program Files\ATITechnologies\ATI.ACE";C:\j2sdk1.4.2_11\bin;"C:\Program Files\PuTTY";C:\Python25;C:\Python25\Scripts;C:\Software\apache-ant-1.7.0\bin;;C:\WINNT\system32\WindowsPowerShell\v1.0ANT_HOME=C:\Software\apache-ant-1.7.0JACORB_HOME=C:\JacORB0. download JacORB binary tar file from website. 1. rm -rf JacORB
2. unzip JacORB-2.3.0-bin.zip
3. cd JacORB && ant jaco    # this will regenerate jaco script file
4. cd JacORB/etc && mv orb.properties orb.properties.bak    # remove orb.properties, we will use jacorb.properties
5. cd JacORB/etc && mv jacorb_properties.template jacorb.properties 6. modify jacorb.properties
   line 24: ORBInitRef.NameService=corbaloc::localhost:34018/NameService          # Where is the NS? i.e., how JacORB service/client find the Naming Service.
   line 729: #jacorb.naming.ior_filename=c:/NS_Ref        # Where NS IOR is written to; let's comment out 7. start ns
   cd JacORB/bin && ./ns -DOAPort=34018   # port 34018 is used for Naming Service listening on 8. run a tool
   cd JacORB/bin && ./lsns9. test a demo program    cd JacORB/demo/any && ant
    cd JacORB/classes && jaco demo.any.Server
    cd JacORB/classes && jaco demo.any.Client