Before you can use the driver for Apache Cassandra, you must set the library path environment variable for your UNIX/Linux operating system to include the directory containing your JVM’s libjvm.so [sl | a] file, and that directory’s parent directory.

NOTE FOR HP-UX: You also must set the LD_PRELOAD environment variable to the fully qualified path of the libjvm.so.

32-bit Driver: Library Path Environment Variable

Set the library path environment variable to include the directory containing your 32-bit JVM’s libjvm.so [sl | a] file, and that directory’s parent directory.

  • LD_LIBRARY_PATH on Solaris, Linux, and HP-UX (Itanium)
  • SHLIB_PATH on HP PA-RISC
  • LIBPATH on AIX

64-bit Driver: Library Path Environment Variable

Set the library path environment variable to include the directory containing your 64-bit JVM’s libjvm.so [sl | a] file, and that directory’s parent directory.

  • LD_LIBRARY_PATH on Solaris, HP-UX (Itanium), and Linux
  • LIBPATH on AIX