Unable to open configuration wizard of weblogic server 12.1.1.2.0 after installation. Error :-The syntax of the command is incorrect

Unable to open configuration wizard of weblogic server 12.1.1.2.0 after installation. Error :-The syntax of the command is incorrect

在 windows 环境中。成功安装 Weblogic 服务器 12.1.1.2.0 后。

我尝试打开配置。域安装和配置向导。

我尝试从开始菜单的 GUI 以及 C:\oracle\Middleware12c\Oracle_Home\wlserver\common\bin

的 cmd

但是在两种情况下都得到相同的错误

错误为"The syntax of the command is incorrect."

Java - JDK 1.8

执行批处理文件时如果出现"The syntax of the command is incorrect"异常,说明批处理文件存在句法错误。在放置 echo 语句时,我们可以缩小到存在语法问题的确切位置。

在我的例子中,问题是系统环境中的路径。变量不正确。它有一个额外的 " ,因此下面的语句抛出异常。

如果 $path == ""