Installing and Running a RmiJDBC Server

1.  Register the database.

    Explained in "Using JDBC" page.

2.  Download RmiJdbc.jar.

3.  Put the JAR file somewhere in your Java CLASSPATH, or modify your classpath.
 

Note:  on NT, if you change your classpath, you must close your DOS window and open it again to reflect classpath changes.


4. Launch rmiregistry

Open MS-DOS console, go into JDK bin directory and run rmiregistry.exe. Nothing apparently happens. Don't worry, the registry is updated.

5.  Launch RmiJDBC server

Open another MS-DOS window, go into JDK bin directory and type:

java RmiJdbc.RJJdbcServer sun.jdbc.odbc.JdbcOdbcDriver

Wait for RmiJdbc server driver messages. When you see something like "RmiJdbcServer bound in rmiregistry...", your server has been launched succesfully.

6.  Install RMIJdbc on Clients

In Netscape, you need copy RmiJdbc.jar in Netscape directory, in \program\java\classes, in client machine. (Not necessary if you use the 70K RmiDemo.jar file, which contains only the files necessary for RmiJDBC on the client side.)