On 08/19/2014 07:00 AM, Carson Chittom 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. > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos If you're interested in Oracle's Java, here are tutorials to install versions 7 and 8: http://www.if-not-true-then-false.com/2010/install-sun-oracle-java-jdk-jre-7-on-fedora-centos-red-hat-rhel/ http://www.if-not-true-then-false.com/2014/install-oracle-java-8-on-fedora-centos-rhel/