12c weblogic安装 The OpenJDK JVM is not supported on this platform

Installation fails with: "The OpenJDK JVM is not supported on this platform" (文档 ID 1948742.1)转到底部转到底部

In this Document

Symptoms
 Cause

 Solution


Applies to:

Oracle GoldenGate Veridata - Version 11.2.1.0.3 and later
Information in this document applies to any platform.

Symptoms

 Following the documentation provided by oracle in installing GG veridata 12 and hit the below error

https://docs.oracle.com/goldengate/1213/gg-veridata/GVDIS/index.html

-bash-3.2$ /usr/bin/java -jar fmw_12.1.3.0.0_infrastructure.jar
Launcher log file is /tmp/OraInstall2014-11-18_03-29-14PM/launcher2014-11-18_03-29-14PM.log.
Extracting files............

The OpenJDK JVM is not supported on this platform.


 

 

Cause

 Your JAVA_HOME is pointing to OpenJDK which is not supported:

bash-3.2$ java -version
java version "1.7.0_65"
OpenJDK Runtime Environment (rhel-2.5.1.2.el5_10-x86_64 u65-b17)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)


Solution

 
You'll need to use the Java JDK.  The download for Java JDK v1.7 is:

http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

Once installed, set your JAVA_HOME and then your PATH to include JAVA_HOME/bin as the first entry:

export JAVA_HOME=<path>
export PATH=$JAVA_HOME/bin:$PATH


MOS上面找到了相应的解决的方法,这儿有两个需要注意的点,

第一个

The JDK to be used when installing Oracle WebLogic Server 12c (12.1.2.0) is Oracle JDK 1.7.0_07+(any version above this) not OpenJDK (Check certification for latest updates). Additionally, Oracle WebLogic 12.1.2 for 64-bit platforms does not include the 64-bit JDK . It must be downloaded prior to installing WLS 12c. EnterpriseOne requires that a 64-bit JDK be installed so that the \bin directory of the JDK is located at the beginning of the PATH variable definition.

The download for Oracle JDK v1.7 is available at below link:
https://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

JDK的版本必须要1.7以上

第二个 

Once installed, set your JAVA_HOME and then your PATH to include JAVA_HOME/bin as the first entry:

export JAVA_HOME=<path>
export PATH=$JAVA_HOME/bin:$PATH

坑了一个晚上,在此提醒下网友

  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值