Roman Shaposhnik created SOLR-4796: -------------------------------------- Summary: zkcli.sh should honor JAVA_HOME Key: SOLR-4796 URL: https://issues.apache.org/jira/browse/SOLR-4796 Project: Solr Issue Type: Bug Components: scripts and tools Affects Versions: 4.2 Reporter: Roman Shaposhnik Fix For: 4.3
On a system with GNU java installed the fact that zkcli.sh doesn't honor JAVA_HOME could lead to hard to diagnose failure: {noformat} Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.solr.cloud.ZkCLI at gnu.java.lang.MainThread.run(libgcj.so.7rh) Caused by: java.lang.ClassNotFoundException: org.apache.solr.cloud.ZkCLI not found in gnu.gcj.runtime.SystemClassLoader{urls=[], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} at java.net.URLClassLoader.findClass(libgcj.so.7rh) at java.lang.ClassLoader.loadClass(libgcj.so.7rh) at java.lang.ClassLoader.loadClass(libgcj.so.7rh) at gnu.java.lang.MainThread.run(libgcj.so.7rh) {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org