在Windows安装Weblogic 12 jar时出现问题

6
C:\Program Files\weblogic>"C:\Program Files\Java\jdk1.8.0_102\bin\java" -jar fmw_12.2.1.1.0_wls_quick.jar
Launcher log file is C:\Users\kb\AppData\Local\Temp\OraInstall2016-10-05_10-23-23PM\launcher2016-10-05_10-23-23PM.log.
Extracting the installer . . . . . . . . Done
Checking if CPU speed is above 300 MHz.   Actual 2594    Passed
Checking swap space: must be greater than 512 MB    Passed
Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)
Checking temp space: must be greater than 300 MB.   Actual 825693 MB    Passed


Preparing to launch the Oracle Universal Installer from C:\Users\kb\AppData\Local\Temp\OraInstall2016-10-05_10-23-23PM
Log: C:\Users\kb\AppData\Local\Temp\OraInstall2016-10-05_10-23-23PM\install2016-10-05_10-23-23PM.log

*****************************************************


Distribution Name : Oracle Fusion Middleware 12c WebLogic and Coherence Developer
Distribution Version : 12.2.1.1.0

Oracle Home : C:\Program Files\weblogic\wls12210
Java Home : C:\Program Files\Java\jdk1.8.0_102

Note: Oracle Home not supplied (defaulted to <present working dir>\wls12210)

*****************************************************

Copyright (c) 1996, 2016, Oracle and/or its affiliates. All rights reserved.
Skipping Software Updates
Starting check : CertifiedVersions
Expected result: One of 6.1,6.2,6.3,10.0
Actual Result: 10.0
Check complete. The overall result of this check is: Passed
CertifiedVersions Check: Success.


Starting check : CheckJDKVersion
Problem: This JDK version was not certified at the time it was made generally available. It may have been certified following general availability.

Recommendation: Check the Supported System Configurations Guide (http://www.oracle.com/technetwork/middleware/ias/downloads/fusion-certification-100350.html) for further details. Press "Next" if you wish to continue.

Expected result: 1.8.0_77
Actual result: 1.8.0_102
Warning: Check:CheckJDKVersion completed with warnings.


Validations are enabled for this session.
Verifying data
[VALIDATION] [ERROR]:INST-07004: Oracle Home location contains one or more invalid characters
[VALIDATION] [SUGGESTION]:The directory name may only contain alphanumeric, underscore (_), hyphen (-) , or dot (.) characters, and it must begin with an alphanumeric character. Provide a different directory name.
installation Failed. Exiting installation due to data validation failure.

The log(s) can be found here: C:\Users\kb\AppData\Local\Temp\OraInstall2016-10-05_10-23-23PM.

Press Enter to exit
  1. 我尝试设置ORACLE_HOME="C:\Program Files\weblogic"
  2. 从C:\Program Files\weblogic执行

如何解决这个问题?还是有其他需要使用的Weblogic jar文件吗?

4个回答

17

在命令行执行Java命令时,设置ORACLE_HOME参数:

例如:

C:\Program Files\Java\jdk1.8.0_144\bin>java -jar C:\WebLogicDownloads\fmw_12.2.1.2.0_wls_quick.jar ORACLE_HOME=C:\WebLogicServer

1
谢谢,这非常有帮助。 - Shubham Singh
ORACLE_HOME 需要指向一个不存在的文件夹。安装程序将创建该文件夹并在其中提取文件。例如:c:\weblogic\wls14110。 - Marcell

2
问题已经解决。我将JDK位置从“C:\program files”更改为C驱动器“C:\”。
谢谢!

这对我也起作用了,将jdk位置更改为直接位于D驱动器下解决了问题。谢谢。 - Türkmen Mustafa Demirci

0

您的带有安装程序的文件夹名称无效,或者您正在直接从RAR文件进行安装,这可能会导致问题。请检查软件信息路径以查看其是否无效。


你好!你回答的问题似乎已经有了类似的解决方案。在提供自己的答案之前,请考虑查看其他答案。 - PajLe

0

显然,以下错误很重要:

INST-07004: Oracle Home location contains one or more invalid characters
[VALIDATION] [SUGGESTION]:The directory name may only contain alphanumeric,
underscore (_), hyphen (-) , or dot (.) characters, and it must begin with 
an alphanumeric character. Provide a different directory name. installation
Failed. Exiting installation due to data validation failure.

问题在于"Program Files"中间的空格。由于名称的限制,您甚至不能使用8个字符的缩写名称Program Files(通常是PROGRA〜1)。我建议您直接将WebLogic安装到C:驱动器的根目录中,因此请尝试使用C:\weblogic
祝你好运。

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接