我试图在服务器上执行jar,如:java -jar file.jar,但我得到了以下错误:
A JNI error has occurred, please check your installation我理解这似乎与我的jar文件使用Java 11有关,而服务器只安装了Java 8。我不能像人们在其他文章中建议的那样安装Java 11来处理这个问题,因为我是在一个我不是超级用户的服务器上执行的。有没有办法让我执行我的jar文件?
sudo tar xuzf splunk-7.2.4-8a94541dcfac-Linux-x86_64.tgz -C /opttar: You may not specify more注意:我在运行chromeos并使用Linux终端的google像素簿上。
编辑:我是遵循一个教程,这是完美的工作,我正在看的人。
Extract the downloaded file using the command tar xvzf <filename>.For example: tar xvzf liclipse_1.0.0_linux.gtk.x86.tar.gz
Move the extracted folder to /opt folder using