错误:无法找到或加载主类 com.install4j.runtime.launcher.Launcher

Tuh*_*hin 2 ubuntu openfire instant-messaging apache-spark

我正在尝试在 Ubuntu 14.04 64 位中安装 spark 客户端 IM,但它抛出错误

Could not find or load main class com.install4j.runtime.launcher.Launcher
Run Code Online (Sandbox Code Playgroud)

我从这个链接https://www.thefanclub.co.za/how-to/how-setup-im-voip-server-using-openfire-ubuntu-1404执行了第 1 步,但它仍然显示相同的错误。

任何帮助将不胜感激。

小智 6

发生此错误是因为 在您发出命令后隐藏目录.install4j 未移动到/opt/spark/mv Spark/* /opt/spark/ 通过终端 in /tmp. 使隐藏文件在/tmp/Spark. 在目录中,/tmp/Spark 您必须执行以下命令:

mv .install4j/ /opt/spark/
Run Code Online (Sandbox Code Playgroud)