You must install a Java Runtime Environment to use JDBC.
You may need to define the JAVA_HOME environment variable, if it has not already been defined, so that the database server can locate the Java VM. The JAVA_HOME or JAVAHOME environment variables are commonly created when installing a Java VM. This environment variable should point to the root directory of your Java VM.
The database server searches for the Java VM in the following order:
Check the java_location database option.
Check the JAVA_HOME environment variable.
Check the JAVAHOME environment variable.
Check the path.
If these searches fail, then the database server fails to load the Java VM.
If the JAVAHOME environment variable is defined and the client computer has JAVA_HOME already defined, the server uses JAVA_HOME.
In addition to a Java Runtime Environment, each JDBC client requires the iAnywhere JDBC driver or jConnect.
To deploy the iAnywhere JDBC driver, you must deploy the following files:
jodbc.jar This must be in the application's classpath.
dbjodbc10.dll This must be in the system path. On Unix environments, the file is a shared library (libdbjodbc10.so).
The ODBC driver files. For more information, see ODBC driver required files.
For a version of the jConnect software and the jConnect documentation, see http://www.sybase.com/products/informationmanagement/softwaredeveloperkit/jconnect.
Your Java application needs a URL to connect to the database. This URL specifies the driver, the computer to use, and the port on which the database server is listening.
For more information on URLs, see Supplying a URL to the driver.