These commands are not valid because they are not structured properly. Instead of typing multiple lines in a single command, they should be separated into individual commands. Also, the first command is missing the word "java" after "openjdk". Here are the corrected commands:

  1. To check the version of OpenJDK installed:
java -version
  1. The output of the above command will display the version of OpenJDK installed on the system.

Note: The second and third lines in the original commands are not valid commands and should not be entered.

rootVM-0-15-opencloudos ~# openjdk version 11010 2021-01-19 LTSbash openjdk command not foundrootVM-0-15-opencloudos ~# OpenJDK Runtime Environment 189 build 11010+9-LTSbash syntax error near unexpect

原文地址: https://www.cveoy.top/t/topic/btEc 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录