Using ij
Page 2 of 4

Starting ij

If you are using Cloudscape as a database server, start the server before connecting to the Cloudscape database.

To start ij, use this command:

  java [  options] COM.cloudscape.tools.ij [-p   propertyFile] [  inputFile] 

The command line items are:

  • java

    The JVM you want to run (java is the name of the JVM program in the JDK).

  • options

    Options used by the JVM. You can specify -D options to set ij properties (see ij Properties) or system properties such as Cloudscape properties.

  • propertyFile

    You can set ij properties in a file. The property file should be in the format created by the java.tools.Properties.save methods, which is the same format as that of the cloudscape.properties file. A sample cloudscape.properties file is provided in demo/programs/tours/scripts. A sample ij properties file is not provided.

  • inputFile

    A file from which to read commands. ij exits at the end of the file or an Exit command. Using an input file causes ij to print out the commands as it runs them. If you reroute standard input, ij does not print out the commands. If you do not supply an input file, ij reads from standard input.

For detailed reference about ij commands, see Chapter 5, "ij Commands and Errors Reference".

NOTE: Cloudscape provides batch and shell scripts for users in Windows and UNIX environments. If you put the appropriate customizable script in your path, you can start ij with a simple command, "ij". These scripts use the ij.protocol property, which automatically loads a driver and simplifies connecting to a database. These scripts can be found in /bin subdirectories under %CLOUDSCAPE_INSTALL%/frameworks/. You can customize the ij script to suit your environment.