It\'s showing -
This installer must be executed using a Java Development Kit (JDK)
I had same problem. I had JAVA_HOME
variable set to 'C:\Program Files\Java\jdk1.8.0_25' and Path
variable set to 'C:\Program Files\Java\jdk1.8.0_25\bin'. Even after checking, it was giving me the same error.
But then I changed order of the Path
variable.
I set it to "C:\Program Files\Java\jdk1.8.0_25\bin;C:\ProgramData\Oracle\Java\javapath;C:\oraclexe\app\oracle\product\11.2.0\server\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem" keeping path of jdk bin at the first place.
It solved the issue.
for me , I went to the folder that contains the jdk (C:/program files/java/jdk_1_8_161/bin) and typed (java -jar "the/path/of/the/soasuite") ... now it worked ... by the way the JAVA_HOME is set correctly but not used donno why
Though this is an old thread, but still, I want to share how I resolved this issue because I wasn't able to find appropriate answer for this issue
My Observation
: Go to Control Panel -> Java -> View ->
Here you can find all the JRE installed on you're system. As expected, when we update our jre, it is selected by default to run any java application.
On my system, I have installed jdk1.8.0_73
but it still was giving error for jre1.8.0_91
. I checked for the jre updates and found that, this was the most updated JRE on my system. So, I uninstalled jre1.8.0_91
expecting that it now pick up the installed JDK jre of my system. But now it was giving error for jre1.8.0_73
.
I double checked by JDK_HOME
,JAVA_HOME
and PATH
variable and all were pointing to jdk1.8.0_73
Resolution
:
So to resolve this issue, instead of running the command like
java -jar fmw_12.2.1.1.0_wls.jar
,
I ran it as
"C:\Program Files\Java\jdk1.8.0_73\bin\javaw.exe" -jar fmw_12.2.1.1.0_wls.jar"
and the issue got resolved
More information about this can be found here
You must provide the correct path to your JDK (not the JRE) in the system variable JDK_HOME
.
You could also change the JAVA_HOME
variable to point at your installed JDK.
Your PATH
system variable should also use the correct path to the JDK, and it would be useful if you could provide the result of the command: java -version
.
Have a look also here: https://docs.oracle.com/cd/E24329_01/doc.1211/e24492/console.htm#WLSIG128
On your System Properties - Environment Variable, on Path, please check that any JRE
path would be located first before the actual JDK path which might be present at the bottom.
In my case, Oracle JRE path
was mentioned first, then the JDK
later. I just moved up the jdk path above the JRE one and it worked charm.