Running the Programs
After you set your CLASSPATH environment variable and compile the program, you can run a spatial Java™ API program.
Use the following command to run the programs:
java program "classname
host:portnumber/database:informixserver=servername;user=username;
password=yourpassword;"
Where the following
values are: - classname
- The name of the class you want to execute.
- portnumber
- The port number that Informix® server is listening on.
- servername
- The name of the server defined as INFORMIXSERVER.
- username
- Your user name.
- yourpassword
- Your password.
Here is an example of a command to run the
programs:
java program "jdbc:informixsqli://
host:port/database:informixserver=server;user=user;
password=pass;"