X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fjava.c;h=5fda7429864db4d4b92c70089484c02bdd3dfadd;hb=4bc72cf837402f7fe5f7accaec5fd719b25d4475;hp=87b189fa1d6f647174dc3f813f80bdf4f4dc8886;hpb=84e8922c9ca797a43463feb53c2053e150d31bb2;p=collectd.git diff --git a/src/java.c b/src/java.c index 87b189fa..5fda7429 100644 --- a/src/java.c +++ b/src/java.c @@ -1931,7 +1931,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); }