您好我一直在尝试在Windows 8.1上安装oracle的服务器weblogic但我在运行configure.cmd
文件时获得了以下内容:
错误:您必须设置MW_HOME并且必须指向一个目录 存在WebLogic的安装。确保将此变量指向 提取zip分发的位置。
如何更正此错误?
答案 0 :(得分:0)
未正确设置环境变量。
1.-创建产品目录
mkdir E:\ weblogic \ wls<<我确定你已经安装了它,并且已经安装了Weblogic二进制文件。
2.-正确设置环境变量
设置JAVA_HOME = _path_to_ \ jdk1.7.0
设置MW_HOME = E:\ weblogic \ wls
(根据您的安装更改上述设置)
3.-运行configure.cmd
答案 1 :(得分:0)
自产品下载页面http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html链接了自述文件,但您的经验表明定义MW_HOME不是可选的! ...
1. Extract the contents of the zip to a directory (eg: /home/myhome/mywls)
This will create a base directory named wls12130 under /home/myhome/mywls
MW_HOME will be the entire directory including the base directory.
(eg: MW_HOME will be /home/myhome/mywls/wls12130).
2. Setup JAVA_HOME and optionally, MW_HOME variables in the current shell as required
for the target platform.
Windows
> set JAVA_HOME=C:\home\myhome\myjavahome
> set MW_HOME=C:\home\myhome\mywls\wls12130
3. Run the installation configuration script in the MW_HOME directory.
This step is required to be run only once. If you move the installation to
another location/machine, you need to rerun this step.
Windows
> configure.cmd