Steam SK use its own java, you can find it in sk app folder named "java_vm"
So it doesn't care about your manipulation with Java you download by yourself.
Well you can manually replace java in SK folder with downloaded one. I'll just copypaste here solution, posted over9000 times on this forum.
steam pc:
- go to sk folder (C:\Program Files (x86)\Steam\steamapps\common\spiral knights)
- there will be a folder java_vm, rename it to java_vm_backup, keep window open
- go to your Java folder (C:\Program Files\Java)
- there should be folder jre8, if it doesn't exist download and install jre8 Windows x64 (x86 if you are on 32bit version and it will be in Program Files (x86))
- copy jre8 folder to your sk folder, and rename it to java_vm
You can also try the same with other versions of jre if current not working properly.
Special thanks to Thrillhaus.