First, I am studying Java, but I am still very new to it, so complicated code will go over my head.
When I download a .jar file to say install a mod to minecraft and
Just to reiterate - Meghan's answer fixed my problem of not being able to double-click to start a jar in Windows 7.
Open Registry editor
Navigate to HKEY_CLASSES_ROOT->jarfile->shell->open->command
Modify (Default) to "[Path to working JRE]/bin/javaw.exe" -jar "%1" %*
Make sure .jar files are opened by [Path to working JRE]/bin/javaw.exe by default