Open WinRAR and click Options > Settings. On the Integration tab make sure RAR and JAR files are selected under "Associate WinRAR with" . On the Viewer tab enable "Associated program"under Viewer Type. Hit OK.