问题描述
在 Windows 环境中.成功安装Weblogic server 12.1.1.2.0后.
In windows env. after succesfull installtion of Weblogic server 12.1.1.2.0.
我尝试打开配置.DOMAIN 安装和配置向导.
I tried opening config. wizard for DOMAIN installation and configuration.
我从开始菜单的 GUI 以及 C:\oracle\Middleware12c\Oracle_Home\wlserver\common\bin 的 cmd 中尝试过
I Tried from GUI from Start menu as well as from cmd from C:\oracle\Middleware12c\Oracle_Home\wlserver\common\bin
但是在两种情况下都会出现相同的错误
However getting same error in both cases
错误为命令的语法不正确."
Error as "The syntax of the command is incorrect."
Java - JDK 1.8
Java - JDK 1.8
推荐答案
执行批处理文件时,如果出现命令的语法不正确"异常,说明批处理文件存在语法错误.在放置 echo 语句时,我们可以精确定位到存在语法问题的地方.
While executing the batch file if "The syntax of the command is incorrect" exception occurs , it means there is a syntactical error in the batch file. On putting echo statements we can narrow down to exactly where there is syntax issue.
在我的情况下,问题是系统环境中的路径.变量不正确.它有一个额外的 " ,因此下面的语句抛出异常.
Here in my case the issue was the path in system env. variable was incorrect. It had an extra " , because of which below statement threw exception.
如果 $path == ""
if $path == ""
这篇关于安装后无法打开weblogic server 12.1.1.2.0的配置向导.错误:-命令的语法不正确的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!