The following error might occur while executing java from command prompt
This installer must be executed using a Java Development Kit (JDK)
but C:\Program Files\Java\jre7 is not a valid JDK.
Issue and Fix
The issue is due to the java is pointing to JRE instead of JDK
Execute the java from the JDK folder like below
c:\Program Files\Java\jdk1.8.0_60\bin\java.exe” -jar “<FILENAME>.jar”
The views expressed on this blog are my personal views and do not necessarily reflect the views of my employer.
Please feeling free to reach me on any comments and feedbacks you have. Would be more than glad to listen and reply 🙂