On 07/19/2012 06:54 AM, James Hogarth wrote:
Yes. However, my BrailleBlaster project may require Java 1.7. I suppose I can obtain it from Openjdk and install it manually. I should probably uninstall Java 1.6 first. After I install Java 1.7, will subsequent use of yuum update mess up that installation?
You have a few of choices here...
CentOS 6.3 includes openJDK 1.7 as a tech preview (and as such it will get security updates etc) so that TUV's customers can test against Java7....
Actually it is now fully supported and not a preview ... they messed up and then fixed the announcement:
http://rhn.redhat.com/errata/RHEA-2012-0981.html
Fedora 17 includes openJDK 1.7 as a 'supported' package (and indeed does not even have 1.6 in the repositories)...
Install the Oracle Java package from Oracle's site and set JAVA_HOME etc etc appropriately to use it.... you may need to set up alternatives to make sure the Oracle Java takes preference if you install a package that results in a dependancy chain that pulls in openJDK.
This will get you java-1.7.0-openjdk on CentOS-6.3:
yum install java-1.7.0-openjdk