Opened 13 years ago

Last modified 11 years ago

#8465 closed enhancement

Switch to Java 7 — at Version 7

Reported by: Don-vip Owned by: team
Priority: major Milestone: 14.05
Component: Core Version:
Keywords: java7 Cc:

Description (last modified by Don-vip)

Oracle has released their final public update of Java 6 (Update 41) and has implemented a "6 to 7" auto-update feature that will concern nearly all Windows and Mac users:

when updating from JRE 6, the update mechanism will not only install the latest version of JRE 7 but will also remove the highest version of JRE 6 on the system. This change will happen when the system is updated via the auto-update mechanism or by checking for updates directly from the Java Control Panel.

In the meanwhile, Linux distributions start to ship OpenJDK7 as their default implementation. Ubuntu ships Java 7 as default since version 12.10 (Quantal Quetzal).

Therefore, we will have soon a majority of users that will run JOSM with Java 7. Maybe it is already the case ? What are the current usage statistics ?

We have a couple of tickets that could benefit from switching to Java 7. I'm thinking at least to #7406, #7896 and #8098.

Java 7 ships also language improvements and some other features JOSM could use, mainly in parallelism, I/O and rendering:

So, when do you think we could switch ?

Change History (7)

comment:1 by Don-vip, 13 years ago

Keywords: java7 added

comment:2 by bastiK, 13 years ago

recent stat:

Java Main Version --> 6 (1812, 44.1%) 7 (2294, 55.8%) 8 (4,  0.1%)

Maybe wait for the Win/Mac auto-update to kick in and see what numbers we have then.

comment:3 by stoecker, 13 years ago

We switched to Java 6 with less than 5% users using Java 5. So it is a long way to go :-)

comment:4 by Don-vip, 13 years ago

Ok thanks for the numbers:) Is there a way to publish them automatically on the website? By the way it's funny to see 4 people using JOSM with Java 8!

comment:5 by Don-vip, 13 years ago

Do we have OS marketshare stats among those running Java 6?

in reply to:  4 comment:6 by stoecker, 13 years ago

Replying to Don-vip:

Is there a way to publish them automatically on the website?

No. We wont do that.

By the way it's funny to see 4 people using JOSM with Java 8!

One time Russian, one time English, the other one German, probably counted twice.

Do we have OS marketshare stats among those running Java 6?

No. The user agent string does not contain that information.

comment:7 by Don-vip, 13 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.