Whenever you want to start Solr or any other search or big data application, you need to have as prerequisite the Java Runtime Environment, known as JRE.

How do you find out if you have the JRE?

Open the command line and run

java -version

If all goes well you should see something like

Determine if you have Java installed

If you do not have Java installed, please go to the following url and download the one that you specifically need, most likely 64 bit

https://goo.gl/NmkrCd

And if you need to find out what version you have? (This can be important if you want to develop using Eclipse, so that you select the jvm that matches your Eclipse then do the following

 

java -d64 -version

How to tell about 64 bit