$ sudo update-alternatives --config java
There are 2 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1069 auto mode
1 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1069 manual mode
2 /usr/lib/jvm/java-8-oracle/jre/bin/java 1 manual mode
Press enter to keep the current choice[*], or type selection number: 1
$ java -version
openjdk version "1.8.0_45-internal"
OpenJDK Runtime Environment (build 1.8.0_45-internal-b14)
OpenJDK 64-Bit Server VM (build 25.45-b02, mixed mode)
但是当我尝试安装 bin 工具时:
$ ./DS41Client.bin
Initializing InstallShield Wizard........
Extracting Bundled JRE.
Bundled JRE is not binary compatible with host OS/Arch
or it is corrupt. Testing bundled JRE failed.
你能告诉我缺少什么吗?
答案1
正如最后一条错误消息所述,您的二进制文件包含其自己的 JRE,这可能是 32 位 JRE。
您应该使用 64 位版本的./DS41Client.bin
.
注意:实际上,安装您发行版的多库包可以帮助,但由于你的二进制文件似乎做了自己的检查,我认为它不会工作(也许它只检查内核版本或类似的东西......)