In place updating of Linux Java fall back to openjdk 7

Was testing in a virtual box environment the the upgrade of Ubuntu with:

do-release-upgrade

I had Java 8 before upgrade. It was replaced with the default openjdk7 after the upgrade. Java 8 was still installed just had to make it the default again. Just thought I would throw this out there in case it may help someone.

If you install:

oracle-java8-set-default

it will set 8 back to default.

Did you still have OpenJDK on it before you upgraded?

Will have to check.

Could be another can of worms all together…

I checked, openjdk was still installed before update. Java 8 was set as default.

Yeah, that’s annoying. I like to nuke all traces of OpenJDK when I’m installing Java 8 just to be sure.