[CentOS] java 1.6 and 1.7 on CentOS

Tue Aug 19 12:16:38 UTC 2014
Liam O'Toole <liam.p.otoole at gmail.com>

On 2014-08-19, Carson Chittom <carson at wistly.net> wrote:
> Asma rabe <asma.rabe at gmail.com> writes:
>
>> If i should install both java 1.6 and 1.7 , how to do that ?
>
> I don't know whether you *should* do it, not knowing much about your
> setup, but assuming CentOS 7, I think you can install both the
> java-1.6.0-openjdk and java-1.7.0-openjdk packages.

I can confirm that. I have both installed. You can configure the default
using the 'alternatives' system.

-- 

Liam