D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] JRE suddenly missing

 

On 16/12/11 21:31, Simon Waters wrote:
> On 16/12/11 18:35, Neil Winchurst wrote:
>> Should I re-install these or is there some way to get java running which
>> has somehow gone wrong? Could it be a recent update which has caused
> Can't speak specifically to Mint but the most common issue I've seen is
> browser updates that disable JRE in the browser.
>
> i.e. It is browser config not system config that breaks.
>
> Mat suggested "java -version" which will tell if Java is installed. And
> checking which is configured.
>
> If that doesn't fix it. I'd suggest looking at the browser "Add-ons"
> manager (assuming firefox or Iceweasel, and that Java is installed) to
> see state of the Java plug-in. It might have been disabled for some
> reason - which could include having run the old version with the newer
> browser, or simply the browser believing it to be an insecure version.
>
>  Simon
>


Neil's link to http://lwn.net/Articles/472466/ explains the issue better
- the Sun/Oracle java stack is now forcibly disabled by Canonical (and
thus all downstream derivative distros such as Mint) partly due to
license issues, mostly due to Oracle's incompetence and inability to fix
multiple critical flaws. As long as you haven't installed the new empty
package via system upgrade, which will do the actual disabling, you can
manually re-enable it using the method I gave.

Otherwise, just install OpenJDK/icedtea anyway - it's the default
reference implementation anyway these days. If you *really* want or need
the Oracle Java stuff, you're going to have to jump through some hoops
to reinstall it and set it as the default. To be fair, Oracle being
Oracle, you probably don't want to do this unless you properly know what
you're doing and absolutely must have the Oracle version (I have to do
this for some of my clients badly written internal crap that won't work
on OpenJDK, which is their fault, not OpenJDKs - also the Android SDK
has some issues on anything other than the Oracle JRE I believe although
this is outside of my area of expertise).

A handy link for those who really must have Oracle Java on their Ubuntu
or derivative:

http://www.webupd8.org/2011/09/how-to-install-oracle-java-7-jdk-in.html

Cheers,

Mat

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq