A couple of months back I added a SSL cert in JRE's trustcacerts for avoiding not-a-valid-certificate issues.
There I imported the self signed certificate to the following file
"C:\Program Files\Java\jre6\lib\security\cacerts"
Question 1
But now when I am trying to access to this file it's not available and instead when I go to
"C:\Program Files\Java\jre6\lib"
I can find only one folder named ext and inside it a Zipped file named QTJava
Wonder what have happened to the files which were there under Java 6.
Question 2.
And also when I opened the Windows command Prompt in Admin mode and try to use keytool command in there it says
"C:\Program Files\Java\jre7\lib\security\cacerts"
'keytool' is not recognized as an internal or external command,
operable program or batch file.
I Would like to know if someone knows a way to get this done.
Q1: It seems fine on my system using the latest JRE, so I think your install is borked.
Q2: That's easy, add your JDK or JRE bin folder to the PATH environment variable. Normally something like set PATH="%PATH%;%JAVA_HOME%/bin"
should do it (given that your JAVA_HOME
variable points to your JDK or JRE installation folder).