sitecore 9.0 update 2 installation error

2018-08-21 23:16:11

I am using SIF to install sitecore 9.0 update 2 on my local machine.

Here is what i have done so far

Install sorl 6.6.2 version

Add SSL certificate to Solr instance.

can browse solr instance on https://localhost:8983/solr/#/ and its working fine.

In SIF also, it is creating Solr cores and accessing the above URL.

But i am getting the error "failed to start service solr(solr)".

Any thoughts?