Note that the default package installed is the J9 IBM version if the extra
repos don't work, and on SLES 11 this is in fact the case.
On 12 Apr 2014 08:42, "Aled Sage" <notifications@github.com> wrote:

> In utils/common/src/main/java/brooklyn/util/ssh/BashCommands.java:
>
> >      public static String installJava6IfPossible() {
> > -        return installPackage(MutableMap.of("apt", "openjdk-6-jdk","yum", "java-1.6.0-openjdk-devel"), null);
> > +        return installPackageOr(MutableMap.of("apt", "openjdk-6-jdk","yum", "java-1.6.0-openjdk-devel"), null,
> > +                chain("which zypper",
> > +                            sudo("zypper --non-interactive addrepo http://download.opensuse.org/repositories/Java:/openjdk6:/Factory/SLE_11_SP3 java_sles_11"),
>
> a shame this code has to be a lot more cumbersome than for apt install
> etc, but not sure how that could easily be improved given you need
> different repos added etc. So fine going with this for now.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/brooklyncentral/brooklyn/pull/1322/files#r11558930>
> .
>