I have a Win XP machine which has java installed on it. The problem that I cannot open jar files. It seems that association is broken. How can I launch jar files by using console. Or maybe there is a way to set a proper association.
You may have to add java to your path. I'm not actually sure how to do that - I'm more of a linux user. If what freedom_is_chaos suggested doesn't work then java isn't in your path and you need to add it. If you just want to run it and don't want to worry about whether or not it's in your path then you'll need to do: C:\full\path\to\jre\bin\java -jar yourJar.jar