JDK 1.6

Hi All,

I discovered that the latest builds of DHIS2 don’t work with JDK 1.6 because of a call to Locale.Builder that wasn’t added until 1.7
http://docs.oracle.com/javase/7/docs/api/java/util/Locale.Builder.html

Thanks,

Dan

Dan Cocos

BAO Systems

dcocos@baosystems.com

T: +1 202-352-2671 | Skype: dancocos

Hi Dan,

Ops okay that was added by me recently. It is not required to use that syntax, will fix it soon.

Lars

···

On Jul 8, 2013 8:34 PM, “Dan Cocos” dan@dancocos.com wrote:

Hi All,

I discovered that the latest builds of DHIS2 don’t work with JDK 1.6 because of a call to Locale.Builder that wasn’t added until 1.7
http://docs.oracle.com/javase/7/docs/api/java/util/Locale.Builder.html

Thanks,

Dan

Dan Cocos

BAO Systems

dcocos@baosystems.com

T: +1 202-352-2671 | Skype: dancocos


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

This should be fixed in rev 11373, please test it out

···


Morten

On Tue, Jul 9, 2013 at 3:23 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Dan,

Ops okay that was added by me recently. It is not required to use that syntax, will fix it soon.

Lars

On Jul 8, 2013 8:34 PM, “Dan Cocos” dan@dancocos.com wrote:

Hi All,

I discovered that the latest builds of DHIS2 don’t work with JDK 1.6 because of a call to Locale.Builder that wasn’t added until 1.7
http://docs.oracle.com/javase/7/docs/api/java/util/Locale.Builder.html

Thanks,

Dan

Dan Cocos

BAO Systems

dcocos@baosystems.com

T: +1 202-352-2671 | Skype: dancocos


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Thank you rev 11373 compiles and works great.

I’m also not sure where the appropriate place to share this but I with the latest builds I’ve run into a problem with running out of perm gen space with the maven build. I’ve worked around it by adding the following to my environment variables.

MAVEN_OPTS=“-Xmx1024m -XX:MaxPermSize=512m”

Thanks,

Dan

···


Morten

On Tue, Jul 9, 2013 at 3:23 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Dan,

Ops okay that was added by me recently. It is not required to use that syntax, will fix it soon.

Lars

On Jul 8, 2013 8:34 PM, “Dan Cocos” dan@dancocos.com wrote:

Hi All,

I discovered that the latest builds of DHIS2 don’t work with JDK 1.6 because of a call to Locale.Builder that wasn’t added until 1.7
http://docs.oracle.com/javase/7/docs/api/java/util/Locale.Builder.html

Thanks,

Dan

Dan Cocos

BAO Systems

dcocos@baosystems.com

T: +1 202-352-2671 | Skype: dancocos


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

That sounds about right. I have found in production systems that I can get away with max permsize of 256m, but 512m should cover you.

···

On 9 July 2013 16:30, Dan Cocos dan@dancocos.com wrote:

Thank you rev 11373 compiles and works great.

I’m also not sure where the appropriate place to share this but I with the latest builds I’ve run into a problem with running out of perm gen space with the maven build. I’ve worked around it by adding the following to my environment variables.

MAVEN_OPTS=“-Xmx1024m -XX:MaxPermSize=512m”

Thanks,

Dan

On Jul 9, 2013, at 4:59 AM, Morten Olav Hansen mortenoh@gmail.com wrote:

This should be fixed in rev 11373, please test it out


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Morten

On Tue, Jul 9, 2013 at 3:23 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Dan,

Ops okay that was added by me recently. It is not required to use that syntax, will fix it soon.

Lars

On Jul 8, 2013 8:34 PM, “Dan Cocos” dan@dancocos.com wrote:

Hi All,

I discovered that the latest builds of DHIS2 don’t work with JDK 1.6 because of a call to Locale.Builder that wasn’t added until 1.7
http://docs.oracle.com/javase/7/docs/api/java/util/Locale.Builder.html

Thanks,

Dan

Dan Cocos

BAO Systems

dcocos@baosystems.com

T: +1 202-352-2671 | Skype: dancocos


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp