Installing JacORB on Windows
Installation
- Unzip JacORB into a directory on your computer, for example, c:\JacORB.
- 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%
- 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.
- 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.