Corba with Java   «Prev 

Installing JacORB on Windows

Start by downloading JacORB. Also, ensure that you have the JDK version 1.2 or later. For some of the JacORB administration tools, you will need the
  1. Java 7 and Corba.
  2. Java 8 and Corba.
  3. Java 9 / JDK Documentation.

Installation

  1. Unzip JacORB into a directory on your computer, for example, c:\JacORB.
  2. Extend your CLASSPATH environment variable to include the classes subdirectory under your JacORB installation directory.
    For example, if you installed in c:\JacORB:

set CLASSPATH=c:\JacORB\classes\JacORB.jar;%CLASSPATH%
  1. Extend your search path to include the /bin subdirectory of the installation directory so that the JacORB utilities can be found. It is a good idea to change the PATH environment variable permanently using the system dialog in the control panel.
  2. Using the JacORB_properties.template as an example, create a file named JacORB.properties and modify it to suit your needs. Most options need no configuration, but you do need to adjust the URL strings using single forward slashes to match your local file system structure.
For example:
jacORB.NameServerURL=file:c:/temp/Corba/NS_Ref
jacORB.TradingServiceURL=file:c:/temp/Corba/TS_Ref
jacORB.ImplementationRepositoryURL=
file:C:/temp/Corba/ImR_Ref

Also change the IMR strings using double backslashes:
/* Implementation Repository Configuration Options */
jacORB.imr.table_file=C:\\temp\\Corba\\table.dat
jacORB.imr.backup_file=C:\\temp\\Corba\\backup.dat
jacORB.imr.ior_file=C:\\temp\\Corba\\ImR_Ref

Files created by JacORB

These files do not have to be created, they will be created as needed by JacORB.
When you have edited and saved JacORB.properties, place a copy on the root of C:\ and one in c:\winnt\java.
Adjust the paths in the batch file bin/jaco.bat. If you use JDK 1.1, omit the -Xbootclasspath option altogether; it is needed only for Java 1.2. For Java 1.1, jaco.bat can read simply:

java %*

At this point, you should be ready to test your installation and configuration.