[cle-release-team] [sakai2-tcc] Java 6 EOL

Aaron Zeckoski aaronz at vt.edu
Wed Feb 15 13:09:00 PST 2012


I would be a fan of making things work with openJDK. We are supposed
to be open source advocates after all.
:-)
-AZ


On Wed, Feb 15, 2012 at 4:01 PM, Steve Swinsburg
<steve.swinsburg at gmail.com> wrote:
> Perhaps we should look more towards the OpenJDK as well, as others have
> suggested. Apparently the only difference is between a few media libraries
> as they can't be open sourced.
> This is a good read:
> http://www.java7developer.com/blog/?p=302
>
> And there is hope. Oracle lists the same developer preview you linked
> http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html
>
> Looking for the JDK7 for Mac OS X Developer Preview?
> The JDK7 for Mac OS X Developer Preview for Java Developers is now available
> on jdk7.java.net
>
> There is also a Java7 preview up on developer.apple.com.
>
> That's a relief.
>
> cheers,
> Steve
>
>
>
>
> On 16/02/2012, at 2:03 AM, Matthew Jones wrote:
>
> All I could find was the OSX developer preview:
> http://jdk7.java.net/macportpreview/
>
> Apple depreciated OS support for Java in Snow Leopard and have pushed it
> back to Oracle, but it seems like Oracle isn't supporting it as well as the
> other OSes. Hopefully a final version will be released by the 1.6 EOL date.
> ;)
>
> Since Apple EOL'd it's servers, and no longer (with Lion) has a separate
> server OS, I'm not sure how important java support will be to anyone other
> than developers anyway.
>
> -Matthew
>
> On Wed, Feb 15, 2012 at 12:04 AM, Steve Swinsburg
> <steve.swinsburg at gmail.com> wrote:
>>
>> Does anyone know what the status of Java 7 is for OS X? Is there anything
>> official?
>>
>> cheers,
>> Steve
>>
>>
>> On 15/02/2012, at 3:58 PM, Earle Nietzel wrote:
>>
>> After updating the following files I was able to compile and run Sakai
>> with JDK 7 (OpenJDK):
>>
>> M       purepoms/sakai-standard-tool/pom.xml
>> M       purepoms/sakai-basic-tool/pom.xml
>> M       purepoms/sakai-commons-tool/pom.xml
>> M       purepoms/sakai-edu-tool/pom.xml
>> M       kernel/pom.xml
>> M       entitybroker/pom.xml
>> M
>> basiclti/basiclti-common/src/java/org/sakaiproject/basiclti/util/ShaUtil.java
>> M       profile2/pom.xml
>> M
>> samigo/samigo-services/src/java/org/sakaiproject/tool/assessment/services/assessment/AssessmentService.java
>> M       search/search-test/test-1.5/pom.xml
>> M       search/search-impl/impl/pom.xml
>> M       master/pom.xml
>> M
>> providers/cm-authz-provider/src/java/org/sakaiproject/coursemanagement/impl/provider/BaseRoleResolver.java
>> M
>> rwiki/rwiki-util/radeox/src/java/org/radeox/example/XSLTExtension.java
>> M       rwiki/rwiki-util/radeox/src/java/org/radeox/util/Service.java
>> M       user/user-tool/tool/pom.xml
>>
>> The java files were all utf-8 issues, the poms were mostly changing the
>> target and source compiler options execept for the purepoms.
>>
>> Using the following table which denotes which JDK version the class is:
>> J2SE 7 = 51 (0x33 hex),
>> J2SE 6.0 = 50 (0x32 hex),
>> J2SE 5.0 = 49 (0x31 hex),
>> JDK 1.4 = 48 (0x30 hex),
>> JDK 1.3 = 47 (0x2F hex),
>> JDK 1.2 = 46 (0x2E hex),
>> JDK 1.1 = 45 (0x2D hex).
>>
>> Then verify and make sure classes are compiled at JDK 7 I ran the
>> following:
>>
>> $ file
>> kernel/kernel-impl/target/classes/org/sakaiproject/component/impl/BasicConfigurationService.class
>>
>> kernel/kernel-impl/target/classes/org/sakaiproject/component/impl/BasicConfigurationService.class:
>> compiled Java class data, version 51.0
>>
>> Compiled classes at JDK 7:
>> $find ./ -name \*.class -exec file {} \; | grep "version 51.0" | wc -l
>> 7456
>>
>> Compiled classes at JDK 6:
>> [urne at localhost sakai-trunk-all]$ find ./ -name \*.class -exec file {} \;
>> | grep "version 50.0" | wc -l
>> 770
>>
>> Compiled classes at JDK 5:
>> $ find ./ -name \*.class -exec file {} \; | grep "version 49.0" | wc -l
>> 871
>>
>> There are still some classes at other than JDK 7 so I will do some more
>> work and dwindle these numbers down.
>>
>> I did run Sakai in Tomcat 7 and JDK 7 and went through briefly almost
>> every tool and did not notice any issues.
>>
>> Earle
>>
>> On Tue, Feb 14, 2012 at 4:49 PM, Earle Nietzel <earle.nietzel at gmail.com>
>> wrote:
>>>
>>> Sure thing Sam.
>>>
>>> I will open a JIRA and attach some patches tonight when I get home.
>>>
>>> Earle
>>>
>>>
>>> On Tue, Feb 14, 2012 at 3:25 PM, Sam Ottenhoff <ottenhoff at longsight.com>
>>> wrote:
>>>>
>>>>
>>>>> There were some changes I had to make which I haven't shared back yet,
>>>>> but nothing out of the ordinary.
>>>>>
>>>>
>>>> Can you open a JIRA with some provisional information?
>>>
>>>
>>
>> _______________________________________________
>> cle-release-team mailing list
>> cle-release-team at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/cle-release-team
>>
>>
>>
>> _______________________________________________
>> cle-release-team mailing list
>> cle-release-team at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/cle-release-team
>>
>
>
>
> _______________________________________________
> cle-release-team mailing list
> cle-release-team at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/cle-release-team
>



-- 
Aaron Zeckoski - Software Architect - http://tinyurl.com/azprofile



More information about the cle-release-team mailing list