Get error when offlne appzard

C:\Users\Administrator>java -version
Error: could not open `C:\Program Files\Java\jre1.8.0_301\lib\amd64\jvm.cfg’

Welcome @Manish_K_Chonkar ,
It appears you misconfigured thr Path variables for the JDK correctly, perhaps try following the steps for installation of java at the Prerequisites section here?

yes have done same as above
dwnloded java
but got this error

Are you sure you downloaded the JDK, not the JRE?
Can you please show us the JAVA_HOME path variable?