projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84e8922
)
java plugin: Improve an error message.
author
Florian Forster
<octo@huhu.verplant.org>
Thu, 30 Dec 2010 07:10:15 +0000
(08:10 +0100)
committer
Florian Forster
<octo@huhu.verplant.org>
Thu, 30 Dec 2010 07:10:15 +0000
(08:10 +0100)
src/java.c
patch
|
blob
|
history
diff --git
a/src/java.c
b/src/java.c
index
87b189f
..
5fda742
100644
(file)
--- 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);
}