在Windows 7上使用Java SE DK 10.0.01安装Oracle SOA Suite 12c

时间:2018-04-25 11:11:49

标签: java soa

环境变量:

JAVA_HOME=E:\Program Files\Java\jdk-10.0.1
JDK_HOME=E:\Program Files\Java\jdk-10.0.1
JRE_HOME=E:\Program Files\Java\jdk-10.0.1\jre

SET JAVA_HOME =“E:\ Program Files \ Java \ jdk-10.0.1”

但是我不能发出如下命令: E:> JAVA_HOME \ bin \ java.exe -version 错误消息=系统找不到指定的路径。

我在C:\ TEMP \ orcl14937063252160533254.tmp检查 提取了DISK1和DISK2。

我的C:\ TEMP \ OraInstall2018-04-25_05-17-37PM \ launcher2018-04-25_05-17-37PM.log如下:

2018-04-25 17:17:39,407 INFO  [1] com.oracle.cie.nextgen.launcher.LogUtils - Launcher log file is C:\TEMP\OraInstall2018-04-25_05-17-37PM\launcher2018-04-25_05-17-37PM.log.
2018-04-25 17:17:39,697 INFO  [1] com.oracle.cie.nextgen.launcher.LogUtils - Extracting to C:\TEMP\orcl14937063252160533254.tmp.
2018-04-25 17:17:39,855 INFO  [1] com.oracle.cie.nextgen.launcher.LogUtils - Extracting the installer . . .
2018-04-25 17:35:57,938 INFO  [1] com.oracle.cie.nextgen.launcher.LogUtils - Finished self extraction to C:\TEMP\orcl14937063252160533254.tmp.
2018-04-25 17:35:58,971 INFO  [1] com.oracle.cie.common.jni.WinRegistryHelper - Open  key failed: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432NODE\ORACLE
2018-04-25 17:35:58,973 INFO  [1] com.oracle.cie.nextgen.launcher.LogUtils - Using the parameter file: C:\TEMP\orcl14937063252160533254.tmp\Disk1\install\win64\oraparam.ini
2018-04-25 17:35:59,522 SEVERE [1] com.oracle.cie.nextgen.launcher.Utils - This installer must be executed using a Java Development Kit (JDK)
but E:\Program Files\Java\jre-10.0.1 is not a valid JDK Java Home.
2018-04-25 17:35:59,696 SEVERE [1] com.oracle.cie.nextgen.launcher.Launcher - This installer must be executed using a Java Development Kit (JDK)
but E:\Program Files\Java\jre-10.0.1 is not a valid JDK Java Home.
2018-04-25 17:35:59,698 INFO  [1] com.oracle.cie.nextgen.launcher.LogUtils - The log is located here: C:\TEMP\OraInstall2018-04-25_05-17-37PM\launcher2018-04-25_05-17-37PM.log.

错误消息是: 必须使用Java Development Kit(JDK)执行此安装程序,但 E:\ Program Files \ Java \ jre-10.0.1 不是有效的JDK Java Home。 日志位于:C:\ TEMP \ OraInstall2018-04-25_05-17-37PM \ launcher2018-04 -25_05-17-37PM.log。

为什么调用jre-10.0.1而不是jdk-10.0.1?

2 个答案:

答案 0 :(得分:1)

尝试以管理员身份运行命令窗口:

enter image description here

答案 1 :(得分:0)

https://docs.oracle.com/middleware/1213/core/SOAQS/integrated.htm#SOAQS206的说明

edit from
SET JAVA_HOME="C:\Program Files\Java\jdk1.7.0_xx"
into
SET JAVA_HOME=C:\Program Files\Java\jdk1-10.0.1

没有“(撇号),您必须使用最新的jdk版本目录。

然后在您提取的fmw_12.2.1.3.0_soa_quickstart.jar中发出命令。 在我的情况下,我把* .jar放在E:\ Source \ oracle \ fmw_12.2.1.3.0_soaqs_Disk1_1of2

"%JAVA_HOME%\bin\java.exe" -jar fmw_12.2.1.3.0_soa_quickstart.jar 

希望这些信息有用。

PS:我在https://chat.stackoverflow.com/rooms/139/java

获得了geisterfurz00的帮助