diff --git a/tightdb_jni/src/util.cpp b/tightdb_jni/src/util.cpp index f129d51e3c..eacef922af 100644 --- a/tightdb_jni/src/util.cpp +++ b/tightdb_jni/src/util.cpp @@ -82,7 +82,7 @@ void ThrowException(JNIEnv* env, ExceptionKind exception, std::string classStr, break; case IOFailed: - jExceptionClass = env->FindClass("java/lang/IOException"); + jExceptionClass = env->FindClass("java/io/IOException"); message = "Failed to open " + classStr; break;