I'm guessing you don't have the correct version (your 131 version) of Java in your path and that is why java isn't a recognized command, and for jars not working, just right click the jar file then click open with then navigate to your java/bin directory and then select javaw.exe and it should work.