I can't start Solr 4.10.4 on Windows as it is stating:

> 
> Java 1.7 or later is required to run Solr
> 
> 
> 

Here is where it gets fun, I have Java JRE 1.8\_102 already installed and if I type java -version in a command prompt it properly displays the Java version. If I try to launch on the next line using Solr.cmd -f, it gives me the error.

For another level of testing I dropped in Solr 5.1.0 and it starts without issue via Solr.cmd -f

Since it works in 5.1.0 and the Java version is correct, why doesn't it work with 4.10.4?

I have the JAVA\_HOME environmental variables/paths and registry entries set correctly from what I can tell, or else Solr 5.1.0 wouldn't launch. (I point to the jre directory for HOME and the jre\bin for the Path).