The Steam version of SK uses its own Java installation (stored in java_vm directory) while other games / regular SK will use your system Java version. You should copy the files from your installed Java and replace your java_vm folder with it
There's more information about it here:
http://wiki.spiralknights.com/Technical_issues_FAQ