Ok, as I have a project(a grails project) that really depends on the different versions of JAVA which are JAVA 6 and 7, I really need now to install them both in my linux box. So what I did earlier is to install JAVA 6(with JDK after) first, then I followed it with JAVA 7, but my problem is I can only see that Java 7 was left installed and Java 6 was overwritten. How can I install both Java 6 and Java 7 with there respective JDK’s without the Java 7 overwrites the version 6?:\
my OS is OpenSUSE 12.3 and I am trying to install Java 1.6 update 45(with JDK) and Java 1.7(with JDK) update 21.
I am trying this one How To: Installing Oracle’s Java JDK 6/7 in Linux Fedora Core 17 | Manuel Jordan’s Blog but I really feel that I will break my system if I follow the blog article because the Java version that the blog writer was trying to install is really old and he runs FEDORA and not OpenSuse:(
this is the log shown when I am trying to install again JRE 6
./jre-6u45-linux-i586-rpm.bin
Unpacking…
Checksumming…
Extracting…
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
inflating: jre-6u45-linux-i586.rpm
Preparing… ################################# [100%]
package jre-1.7.0_21-fcs.i586 (which is newer than jre-1.6.0_45-fcs.i586) is already installed
file /etc/init.d/jexec from install of jre-1.6.0_45-fcs.i586 conflicts with file from package jre-1.7.0_21-fcs.i586
file /etc/init.d/jexec from install of jre-1.6.0_45-fcs.i586 conflicts with file from package jdk-2000:1.7.0_21-fcs.i586Done.