You add the path for the sapdbc.jar file to the CLASSPATH environment variable so that the Sun Java platform can find the MaxDB JDBC driver and the MaxDB Java classes.
You have installed the software component JDBC (see Installation Manual, Software Components).
1. To add the sapdbc.jar path to the CLASSPATH environment variable, enter the following command:
If you do not want to include the path for sapdbc.jar in the CLASSPATH environment variable, you can specify the entire path for sapdbc.jar path when calling Java as follows:
java -cp <independent_program_path>\runtime\jar\sapdbc.jar
java -cp <independent_program_path>/runtime/jar/sapdbc.jar
2. If necessary, add the CLASSPATH environment variable to the login profile of the current operating system user.
Installation Manual, Directories