Linux 安装 Java 报错 Error: could not find libjava.so Error: Could not find Java SE Runtime Environment.

Linux 安装 Java 报错 Error: could not find libjava.so Error: Could not find Java SE Runtime Environment.

Ubuntu 18.04 安装 java ,配置后报错:
could not find libjava.so Error: Could not find Java SE Runtime Environment.

检查各种配置后都没有发现错误。

从头查起,发现解压后:
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

原来是文件传输中出了问题,希望能给有同样问题的小伙伴有所帮助。

你可能感兴趣的:(Linux 安装 Java 报错 Error: could not find libjava.so Error: Could not find Java SE Runtime Environment.)