Using Oracle Java 7 without the plug-in
I'd say just install java as normal. Afterwards go to

System Preferences → Java (bottom row) → Security

and uncheck "Enable Java content in the web browser". 

That should do it, and I would very much expect it to remember the setting after an update.