java-devel 1.6 needed in oS12.2
Dear all, for the Scala package (devel:languages:scala) to compile successfully, it is required to use java 1.6, as java 1.7 does give swing compile errors according to the documentation. Tests confirmed that. According to the wiki, adding a repo as target is the prefered way. However, it results in confusion, which version should actually be used during compile time. Project is: https://build.opensuse.org/project/show?project=devel%3Alanguages%3Ascala Please recommend how to deal with this issue. thanks. denny -- To unsubscribe, e-mail: opensuse-java+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-java+owner@opensuse.org
On Mon, Jan 21, 2013 at 09:19:54AM +0100, Denny Beyer wrote:
Dear all, for the Scala package (devel:languages:scala) to compile successfully, it is required to use java 1.6, as java 1.7 does give swing compile errors according to the documentation. Tests confirmed that.
According to the wiki, adding a repo as target is the prefered way. However, it results in confusion, which version should actually be used during compile time.
Project is: https://build.opensuse.org/project/show?project=devel%3Alanguages%3Ascala
Please recommend how to deal with this issue.
Hi, you can use openjdk6 from Java:openjdk6:Factory - just edit your prjconf <repository name="openSUSE_12.2"> <path project="openSUSE:12.2" repository="standard"/> <path project="Java:openjdk6:Factory" repository="openSUSE_12.2"/> <arch>i586</arch> <arch>x86_64</arch> </repository> and that's all. Unfortunatelly no openjdk6 is in openSUSE_Factory repo of Java:openjdk6:Factory atm. Regards Michal Vyskocil
Thank's for the hint, it does the trick.
and that's all. Unfortunatelly no openjdk6 is in openSUSE_Factory repo of Java:openjdk6:Factory atm.
Unfortunately, scala, including the latest release, requires java 1.6 for building from source. Is there a reason, why it's not available in Factory? Will it be for 12.3?
Regards Michal Vyskocil
Regards, Denny -- To unsubscribe, e-mail: opensuse-java+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-java+owner@opensuse.org
On Mon, Jan 21, 2013 at 11:06:12PM +0100, Denny Beyer wrote:
Thank's for the hint, it does the trick.
and that's all. Unfortunatelly no openjdk6 is in openSUSE_Factory repo of Java:openjdk6:Factory atm.
Unfortunately, scala, including the latest release, requires java 1.6 for building from source. Is there a reason, why it's not available in Factory? Will it be for 12.3?
Sure, the reason is the maintenance - Oracle will stop to provide updates for (open)jdk6 this February and we cannot do this on our own, so openjdk6 has been dropped from Factory before 12.2 release and won't be added back. We keep it in a Java:openjdk6:Factory only, where the original plan was to drop it from there as well. I was too optimistics about Java community and their ability to adapt to the new release scheme of JDK from Oracle. I've restarted it for 12.2 upon a request. And if someone will ask for 12.3, I'll do the same. But my main interest is to offer jdk7 as a default (and in Factory only one) option. Regards Michal Vyskocil
I've restarted it for 12.2 upon a request. And if someone will ask for 12.3, I'll do the same. scala only supports jdk6 for building, with known swing issues when building with jdk7. I have no information, when the scala dev team is going to support jdk7. I'm not sure, how other distro's handle those issues. But my main interest is to offer jdk7 as a default (and in Factory only one) option. In general I totally agree, but this will prevent building scala for those
Michal, [...] platforms. However, I expect it to work under jdk7, just for compiling from source jdk6 is needed, as it seems.
Regards Michal Vyskocil
Regards, Denny -- To unsubscribe, e-mail: opensuse-java+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-java+owner@opensuse.org
participants (2)
-
Denny Beyer
-
Michal Vyskocil