where oracle jdk set java_home?
wayward4now at gmail.com
Sun Oct 20 20:51:10 UTC 2013
On 10/19/2013 05:23 PM, Mauro wrote:
> On 19 October 2013 22:29, Colin Law <clanlaw at googlemail.com
> <mailto:clanlaw at googlemail.com>> wrote:
> On 19 October 2013 21:15, Mauro <mrsanna1 at gmail.com
> <mailto:mrsanna1 at gmail.com>> wrote:
> > I've installed oracle jdk and it has set the environment variable
> > Then I've uninstalled oracle jdk but JAVA_HOME is still set.
> > How can I delete it?
> See if it is set in /etc/environment or in .bashrc or .profile in your
> home directory.
> I don't see it in any of these files.
It'll be in /etc/alternatives/. Your new install of of OpenJDK should
have reset it, if you installed it. You can use Alternatives
Configurator to edit/delete/reset your alternatives options.
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
More information about the ubuntu-users