在 windows 8.1 中使用控制台模式安装 WebLogic 服务器时出错
Error installing WebLogic server using Console mode in windows 8.1
您好,我一直在尝试在 windows 8.1 上安装 oracle 的服务器 weblogic,但是当我 运行 configure.cmd
文件时,我得到了以下信息:
ERROR: You must set MW_HOME and it must point to a directory where an
installation of WebLogic exists. Ensure you point this variable to the
extract location of the zip distribution.
如何更正此错误?
环境变量设置不正确
1.- 创建产品目录
mkdir E:\weblogic\wls << 我确定您已经安装了 Weblogic 二进制文件。
2.- 正确设置环境变量
设置JAVA_HOME=_path_to_\jdk1.7.0
设置MW_HOME=E:\weblogic\wls
(根据您的安装更改以上设置)
3.- 运行 configure.cmd
从产品下载页面 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
您好,我一直在尝试在 windows 8.1 上安装 oracle 的服务器 weblogic,但是当我 运行 configure.cmd
文件时,我得到了以下信息:
ERROR: You must set MW_HOME and it must point to a directory where an installation of WebLogic exists. Ensure you point this variable to the extract location of the zip distribution.
如何更正此错误?
环境变量设置不正确
1.- 创建产品目录
mkdir E:\weblogic\wls << 我确定您已经安装了 Weblogic 二进制文件。
2.- 正确设置环境变量
设置JAVA_HOME=_path_to_\jdk1.7.0
设置MW_HOME=E:\weblogic\wls
(根据您的安装更改以上设置)
3.- 运行 configure.cmd
从产品下载页面 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