在Windows 8.1中使用控制台模式安装WebLogic服务器时出错

时间:2023-01-16 12:01:22

Hi i have been trying to install the server weblogic of oracle on windows 8.1 but I obtain the follow when I run the configure.cmd file:

您好我一直在尝试在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.

错误:您必须设置MW_HOME,它必须指向存在WebLogic安装的目录。确保将此变量指向zip分发的提取位置。

How do I correct this error?

如何更正此错误?

2 个解决方案

#1


There's a readme file linked from the product download page http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html although your experience would suggest that defining MW_HOME isn't optional! ...

从产品下载页面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

#2


Environment variables are not set properly.

环境变量设置不正确。

1.- Create product directory

1.-创建产品目录

mkdir E:\weblogic\wls << I'm sure you did it and Weblogic binaries are already installed.

mkdir E:\ weblogic \ wls < <我确定你已经安装了它,并且已经安装了weblogic二进制文件。< p>

2.- set environment variables properly

2.-正确设置环境变量

set JAVA_HOME=_path_to_\jdk1.7.0

set MW_HOME=E:\weblogic\wls

(change above settings according to your installation)

(根据您的安装更改以上设置)

3.- Run configure.cmd

3.-运行configure.cmd

#1


There's a readme file linked from the product download page http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html although your experience would suggest that defining MW_HOME isn't optional! ...

从产品下载页面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

#2


Environment variables are not set properly.

环境变量设置不正确。

1.- Create product directory

1.-创建产品目录

mkdir E:\weblogic\wls << I'm sure you did it and Weblogic binaries are already installed.

mkdir E:\ weblogic \ wls < <我确定你已经安装了它,并且已经安装了weblogic二进制文件。< p>

2.- set environment variables properly

2.-正确设置环境变量

set JAVA_HOME=_path_to_\jdk1.7.0

set MW_HOME=E:\weblogic\wls

(change above settings according to your installation)

(根据您的安装更改以上设置)

3.- Run configure.cmd

3.-运行configure.cmd