java安装问题错误

时间:2018-03-12 17:28:16

标签: install java-9

我正在尝试安装java。看起来java已正确安装,但在cmd中键入java时会出现此错误。有人可以建议这意味着什么吗?

    C:\Users\Kamil>java Usage: java [options] [args...]   
    (to execute a class) or java [options] -jar [args...] (to execute a jar 
    file) or java [options] -m [/] [args...] java [options] --module [/] 
    [args...] (t`enter code here`o execute the main class in a module)
    Arguments following the main class, -jar , -m or --module / are passed as 
    the arguments to main class.
    where options include:
-d32          Deprecated, will be removed in a future release
-d64          Deprecated, will be removed in a future release
-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
--class-path <class search path of directories and zip/jar files>
              A ; separated list of directories, JAR archives,
              and ZIP archives to search for class files.
              <module name> can also be ALL-DEFAULT, ALL-SYSTEM,
              ALL-MODULE-PATH.
--list-modules
              list observable modules and exit
-d <module name>
--describe-module <module name>
              describe a module and exit
--dry-run     create VM and load main class but do not execute main method.
              The --dry-run option may be useful for validating the
              command-line options such as the module system configuration.
--validate-modules  validate all modules and exit
              The --validate-modules option may be useful for finding
              conflicts and other errors with modules on the module path.
-D<name>=<value>
              set a system property
-verbose:[class|module|gc|jni]
              enable verbose output
-version      print product version to the error stream and exit
--version     print product version to the output stream and exit
-showversion  print product version to the error stream and continue
--show-version
              print product version to the output stream and continue
--show-module-resolution
              show module resolution output during startup
-? -h -help
              print this help message to the error stream
--help        print this help message to the output stream
-X            print help on extra options to the error stream

0 个答案:

没有答案