How to avoid Mountain Lion to asking for an Java installation?
Check your login items (System Preferences → Users &amp; Groups → Login Items). If it's happening on every login, it's likely you have some process that requires Java in your login items.