-1

I am trying to install Oracle SOA Suite 12 on Windows 10. I set the JAVA_HOME correctly (able to echo it), and then trying to run the JAR. It gives me the following message:

This installer must be executed using a Java Development Kit (JDK) but C:\Program Files\Java\jre1.8.0_161 is not a valid JDK Java Home.

It seems to look for the JRE folder and by default neglecting the JAVA_HOME environment variable. I did a workaround by navigating to the JDK folder, and then running the java.exe inside the JDK folder (java.exe -jar /path/to/soasuite). It works well. I just want to know what might be the reason.

osama yaccoub
  • 1,884
  • 2
  • 17
  • 47

2 Answers2

0

I advise you to set the properties as follow. Adapt correctly to your path in the JAVA_HOME property, and the others will follow.

JAVA_HOME := C:\java\jdk1.8.0_151
JDK_HOME := %JAVA_HOME%
JRE_HOME := %JAVA_HOME%\jre
CLASSPATH := .;%JAVA_HOME%\lib;%JAVA_HOME%\jre\lib
PATH := %JAVA_HOME%\bin;%PATH%

EDIT:

I did a workaround by navigating to the JDK folder, and then running the java.exe inside the JDK folder (java.exe -jar /path/to/soasuite). It works well. I just want to know what might be the reason.

This means that you are missing the change in the PATH environment.

0

I was not able to utilize the path variables described - did not want to restart the machine durng and install of oracle software. I was able to successfully complete the install of weblogic oracle fusion by doing the following.

RUN JAR files using command prompt due to having issues running the java installed setups for oracle12c, weblogic ,etc.

RUN command prompt as adminsitrator: 1. CHANGE DIRECTORY IN COMMAND PROMPT TO: C:\Program Files\Java\jdk1.8.0_181\bin

  1. RUN the command like this - pointing to the proper JAR file. java -jar c:\oracleformssoftware\fmw_12.2.1.3.0_infrastructure.jar

This definately worked for me but please note I did finally setup the path variables instructions noted here.