我正在尝试在 Linux 上运行 ZereneStacker 程序(我使用的是 Chromebook Samsung 3)。我从这里下载了程序的 .zip 文件并将其解压缩。根据该下载页面,.zip 文件包括:
ZereneStacker executable launcher
ZereneStacker.bsh launch script (provided for backward compatibility)
提取后,我cd
会进入提取的文件夹ZereneStacker
尝试命令
sudo chmod +x ZereneStacker
sudo ./ZereneStacker
和
sudo chmod +x ZereneStacker.bsh
sudo ./ZereneStacker.bsh
这两个输出都很长,包括以下内容:
Fatal error: /home/user/ZereneStacker/jre/bin/java exists but is not an executable file
我需要进一步更改权限吗?我是否缺少安装步骤,还是应该在第一次执行时安装?
如果有帮助,这是完整的输出:
sizeof(ptr) = 8
Physical memory = 2986188800
isSafeMode = 0
argv[0] = [/home/user/ZereneStacker/ZereneStacker]
launcherFile = [/home/user/ZereneStacker/ZereneStacker]
sigh... appdir = /home/user/ZereneStacker
arg0 = /home/user/ZereneStacker/ZereneStacker
argc = 1
endDir = /ZereneStacker
length = 33
argsLength = 0
appdir = /home/user/ZereneStacker
appdataName = /root/.ZereneStacker
appdataName = /root/.ZereneStacker
appdataZSName = /root/.ZereneStacker
configFileName = /root/.ZereneStacker/zerenstk.cfg
configFile = 0
mxStringFromConfig =
mxString = -Xmx1024m
launchCmdFileName = /root/.ZereneStacker/zerenstk.launchcmd
launchOKFileName = /root/.ZereneStacker/zerenstk.launchOK
trying launchParamsFileName = /home/user/ZereneStacker/zerenstk.ini
initialization line = "{appdir}/jre/bin/java" {memsize} -DjavaBits={javaBits} -Dlaunchcmddir="{launchcmddir}" -classpath "{appdir}/ZereneStacker.jar:{appdir}/JREextensions/*" com.zerenesystems.stacker.gui.MainFrame
invocation line before possible tweaking = "/home/user/ZereneStacker/jre/bin/java" -Xmx1024m -DjavaBits=64bitJava -Dlaunchcmddir="/root/.ZereneStacker" -classpath "/home/user/ZereneStacker/ZereneStacker.jar:/home/user/ZereneStacker/JREextensions/*" com.zerenesystems.stacker.gui.MainFrame
argument 0 before tweaking: [/home/user/ZereneStacker/jre/bin/java]
argument 1 before tweaking: [-Xmx1024m]
argument 2 before tweaking: [-DjavaBits=64bitJava]
argument 3 before tweaking: [-Dlaunchcmddir=/root/.ZereneStacker]
argument 4 before tweaking: [-classpath]
argument 5 before tweaking: [/home/user/ZereneStacker/ZereneStacker.jar:/home/user/ZereneStacker/JREextensions/*]
argument 6 before tweaking: [com.zerenesystems.stacker.gui.MainFrame]
argument 7 before tweaking: [(null)]
Invocation line: ["/home/user/ZereneStacker/jre/bin/java" -Xmx1024m -DjavaBits=64bitJava -Dlaunchcmddir="/root/.ZereneStacker" -classpath "/home/user/ZereneStacker/ZereneStacker.jar:/home/user/ZereneStacker/JREextensions/*" com.zerenesystems.stacker.gui.MainFrame ]
statbuf.st_mode = 100644
Fatal error: /home/user/ZereneStacker/jre/bin/java exists but is not an executable file
在 ZereneStacker 支持的帮助下,我想出了以下解决方案:
即使
openjdk-8-jdk
Zerene Stacker 内置了10.0.1 JRE
. 我只试过openjdk-8-jdk