[
https://issues.apache.org/jira/browse/SOLR-4796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Miller updated SOLR-4796:
------------------------------
Fix Version/s: 5.0
> 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
> Assignee: Mark Miller
> Fix For: 5.0, 4.4
>
> Attachments: SOLR-4796.patch.txt
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]