[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: alternatives with ad hoc installation



El 2012-06-25 a las 11:28 -0600, ChadDavis escribió:

(back to the list)

> >> I'm installing, by hand, a java7 distribution that doesn't exist in the
> >> repositories.  Is it feasible to use the alternatives mechanism to work
> >> with ad hoc installations like this?  In other words, I've "installed"
> >> the java 7 jdk into /usr/local/jdk1.7.0.
> >
> > (...)
> >
> > I'd say yes, because this is how it has been done since always so I see
> > no compelling reasons for this has stopped from working now.
> >
> 
> To clarify, are you saying that the alternatives system is relatively
> distinct, as a mechanism, from the .deb packaging system?

I mean I'd expect you can use the update-alternatives system to choose 
the java binary you want to call when you run "java". And I also expect 
this is still true for the new Oracle Java 7 version.

Last time I installed a Java JRE from Oracle site I downloaded a .bin 
file that I had to install and setup as usual (there were installation 
instructions at their site), hope this is still true for the new java 
version.

Greetings,

-- 
Camaleón 


Reply to: