You need to install Java Developer Kit, not Java Runtime Environment.
I discovered that even though the web client for Spiral Knights runs by installing the standard Java Runtime Environment, the steam client will not run unless you install the Java Developer Kit. Java 6 or Java 1.6 is not required. It successfully ran on OS X 10.10 for me just now using Java Developer Kit 8 (1.8).
So basically java runtime environment bad - java developer kit good.
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-…