Failed to execute script CellProfiler

I downloaded Java 8.1 then downloaded Cell Profiler 3.0 and deleted JAVA_HOME from enviornmental variables. Cell profiler will not open, and I get this error in the command box.

Can you try setting JAVA_HOME to your new JAVA install? Is JDK_HOME set?