[Building Sakai] hybrid module requires 1.6
Steve Swinsburg
steve.swinsburg at gmail.com
Thu Feb 17 15:47:24 PST 2011
Yes, and Java 1.6 is actually recommended for Sakai 2.7 and up (although we use it on 2.6 without issue). You still need the JAVA_OPTS workarounds though:
https://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Source+Install+%282.7%29
cheers,
Steve
On 18/02/2011, at 10:26 AM, Earle Nietzel wrote:
> I am only stating the obvious here but per Oracle/Sun:
>
> J2SE 5.0 reached its End of Service Life (EOSL) on November 3, 2009, which is the date of the final publicly available update of version 5.0 (J2SE 5.0 Update 22).
>
> At this point you have to have a Java for Business license in order to continue receiving updates.
>
> In Java 6 you can target 1.5 but at some point going to have to make the decision to move on :)
>
> Earle
>
>
> -----sakai-dev-bounces at collab.sakaiproject.org wrote: -----
>
> To: John Bush <john.bush at rsmart.com>
> From: Steve Swinsburg <steve.swinsburg at gmail.com>
> Sent by: sakai-dev-bounces at collab.sakaiproject.org
> Date: 02/17/2011 04:52PM
> Cc: Sakai-Dev <sakai-dev at collab.sakaiproject.org>
> Subject: Re: [Building Sakai] hybrid module requires 1.6
>
> I havent looked at the code but this is almost certainly because of the @Override annotation on that method. I had the same issue with Profile2. Removing it should allow compilation in 1.6 (assuming no other 1.6 only code is used).
>
> cheers,
> Steve
>
>
>
> On 18/02/2011, at 6:11 AM, John Bush wrote:
>
> > merry xmas, https://jira.sakaiproject.org/browse/HYB-113. I haven't
> > tried just dropping in the war.
> >
> > On Thu, Feb 17, 2011 at 11:21 AM, Speelmon, Lance <lance at indiana.edu> wrote:
> >> John,
> >>
> >> There should be no issue with changing the src and compile versions to 1.5, but I am targeting 1.6 by default. If there is any code that is not compatible with 1.5, please file a bug. Thanks, L
> >>
> >>
> >> Lance Speelmon
> >> Scholarly Technologist
> >>
> >> On Feb 17, 2011, at 12:16 PM, John Bush wrote:
> >>
> >>> https://jira.sakaiproject.org/browse/HYB-11
> >>>
> >>> This seems like a problem to me, I'm having problems bringing hybrid
> >>> in as an indie on systems building with jdk 1.5, I get a Invalid class
> >>> file format. When I try to build hybrid on 1.5 is obviously fails
> >>> since it requires 1.6. So are we requiring 1.6 for Sakai 2.8, if we
> >>> are that's fine, I guess I just didn't realize that.
> >>>
> >>> --
> >>> John Bush
> >>> 602-490-0470
> >>> _______________________________________________
> >>> sakai-dev mailing list
> >>> sakai-dev at collab.sakaiproject.org
> >>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> >>>
> >>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
> >>
> >>
> >
> >
> >
> > --
> > John Bush
> > 602-490-0470
> > _______________________________________________
> > sakai-dev mailing list
> > sakai-dev at collab.sakaiproject.org
> > http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> >
> > TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110218/f4a84f46/attachment.html
More information about the sakai-dev
mailing list