# ContentBox Express 2.0.0 not running in windows7

I’m not able to run ContentBox Express 2.0.0 in windows7 machine. The startup.bat is immediately closing when clicked.
I have checked JAVA_HOME is set and pointing to C:\Program Files\Java\jre7\bin.
I have also tried changing JAVA_HOME -> C:\Program Files\Java\jdk1.7.0_17\ and added C:\Program Files\Java\jdk1.7.0_17\bin; to Path.
Any one having similar problems.

Usually when they automatically close that means they can’t find the JRE. I had to dig through the batch startup files last time that happened to figure out what env variables it was looking for. It might be JRE_HOME. You can try putting a “pause” at the bottom of the batch files, or running them from a command prompt so you can try and see the error.

Unfortunately, errors finding the java/jre home don’t make it into any Java logs since Java isn’t even running yet.

Thanks!

ColdBox Platform Evangelist
Ortus Solutions, Corp