@echo off echo Setting JAVA_HOME set JAVA_HOME=C:\Program Files\Java\jdk-10 echo Setting PATH set PATH=C:\Program Files\Java\jdk-10\bin;%PATH% echo Display java version java -version Share Improve this answer
Path of java 11 trust store is C:\Program Files\Java\jdk-11.0.4\lib\security\cacerts To import cert in windows use below command. "C:\Program Files\Java\jdk-11.0.1\bin\keytool" -importcert -file C:\Polarion\bundled\apache\conf\certificate.crt -alias labs.polarion.com -keystore "C:\Program Files\Java\jdk-11.0.1\lib\security\jssecacerts
Step-5. New Pop-up Window will appear. Click on Newβ¦. Enter JAVA_HOME as variable name and C:\Program Files\Java\jdk1.8.0_121 as Value. Enter JRE_HOME as variable name and C:\Program Files\Java\jre1.8.0_121 as Value. Click OK button. Exit System Properties window. At this time, you are all set.
This environment variable is needed to run this program NB: JAVA_HOME should point to a JDK not a JRE. Finally I got the solution. Please set the JAVA_HOME value by Browse Directory button/option. Try to find the jdk path. Ex: C:\Program Files\Java\jdk1.8.0_181. It will remove the semicolon issue.3GdSK.