To install Java plugins for Firefox and Chrome on Ubuntu, you need to have Oracle Java installed first. Once installed, the plugins should be automatically enabled. If not, you can manually enable them in the browser settings.