X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fjava.c;fp=src%2Fjava.c;h=af0861f67673725b8e6655f176a1fafd850548e9;hp=3089a5337fdc4b21b5c592d06185789da8e72107;hb=0eff156c7816507fa1865b76e948574dd320fae0;hpb=19808b4489b7e096fe4b53446f33d917f0e16438 diff --git a/src/java.c b/src/java.c index 3089a533..af0861f6 100644 --- a/src/java.c +++ b/src/java.c @@ -1932,7 +1932,9 @@ static int cjni_init_native (JNIEnv *jvm_env) /* {{{ */ api_class_ptr = (*jvm_env)->FindClass (jvm_env, "org/collectd/api/Collectd"); if (api_class_ptr == NULL) { - ERROR ("cjni_init_native: Cannot find API class `org/collectd/api/Collectd'."); + ERROR ("cjni_init_native: Cannot find the API class \"org.collectd.api" + ".Collectd\". Please set the correct class path " + "using 'JVMArg \"-Djava.class.path=...\"'."); return (-1); }