I have an ubuntu system and I want to replace my openjdk with oracle-jdk.
However if I remove my open-jdk and then install oracle-jdk, when I try to install some packages they want to install openjdk and I don't want this.
Is there any way to install those packages on top of oracle-jdk? One of those packages is freemind.
PATH
in/etc/profile.d/jdk.sh
. Removing this file and starting a fresh shell allowedupdate-alternatives
to do its job.