Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Time to switch to Java 1.7?

Thanks Sergey for taking care of this.

Maybe we should put a note in the 8.4 N&N?
I've created it:
https://wiki.eclipse.org/CDT/User/NewIn84


From: cdt-dev-bounces@xxxxxxxxxxx [cdt-dev-bounces@xxxxxxxxxxx] on behalf of Sergey Prigogin [eclipse.sprigogin@xxxxxxxxx]
Sent: January 24, 2014 1:40 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] Time to switch to Java 1.7?



On Fri, Dec 6, 2013 at 11:49 AM, Marc-André Laperle <marc-andre.laperle@xxxxxxxxxxxx> wrote:
On 13-12-06 09:11 AM, Bruno Medeiros wrote:
Other than plugins depending on Java 7, does this requirement for Java 7 also mean that the packages will have the "-Dosgi.requiredJavaVersion" set to 7 in the packaged eclipse.ini ? Or is it just for the website requirements message when downloading the package?

I was just talking about the website requirement message for now.


I ask this because currently, if you install or run eclipse under a certain execution environment (say, 6) and there are installed plugins which require a higher execution environment (say, 7), the plugins will fail to load but there will be no user message, nor even a log message about this!
See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=417336
It can be quite confusing for a user who inadvertently updates to a newer version of CDT (or other plugins) but is still running a Java 6 VM.


So, would changing -Dosgi.requiredJavaVersion to 7 would help with this problem? Maybe it's possible to change eclipse.ini with an update to the package?

In any case, I think that since the lack of error message is an issue in the platform, I don't think it should prevent us from making the change. With the message on the main download website, a message on the CDT download page and another one in the new and noteworthy, hopefully most people will know to upgrade.

Marc-Andre



On Fri, Dec 6, 2013 at 4:35 AM, Marc-André Laperle <marc-andre.laperle@xxxxxxxxxxxx> wrote:
Hi,

I have asked on the epp-dev mailing list about requiring Java 1.7 [1] and it seems the consensus is that ALL packages could require Java 1.7 for Luna. So I propose the switch could be done in master after the 8.3 branch is created.

[1] http://dev.eclipse.org/mhonarc/lists/epp-dev/msg02836.html

Marc-Andre


From: cdt-dev-bounces@xxxxxxxxxxx [cdt-dev-bounces@xxxxxxxxxxx] on behalf of Marc-André Laperle [marc-andre.laperle@xxxxxxxxxxxx]
Sent: Monday, 25 November 2013 3:18 PM

To: CDT General developers list.
Subject: Re: [cdt-dev] Time to switch to Java 1.7?

Hi Doug,

Sounds good to me. I think we should probably wait for Luna to switch. Also, the main Eclipse download page mentions Java SE 6 or greater. We would need some way to communicate that Java 7 is required for the packages containing CDT plugins. Thoughts?

Marc-Andre


From: cdt-dev-bounces@xxxxxxxxxxx [dschaefer@xxxxxxx]
Sent: Monday, 25 November 2013 10:06 AM
To: CDT General developers list.
Subject: Re: [cdt-dev] Time to switch to Java 1.7?

BTW, I’ve figured out how to move our Mac 32-bit users to 64-bit so I remove my objection. I have everyone on 1.7 now.

Doug.

From: Doug Schaefer <dschaefer@xxxxxxx>
Date: Wednesday, November 13, 2013 at 1:38 PM
To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
Subject: Re: [cdt-dev] Time to switch to Java 1.7?

Yeah, all users of our released Momentics on Mac, including myself. But only with the 1.6 JRE from Apple. It should trigger the auto-install of the JRE the first time you run it, unless you have JRE 1.7 installed. Then things get messy.

From: Sergey Prigogin <eclipse.sprigogin@xxxxxxxxx>
Reply-To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
Date: Wednesday, November 13, 2013 at 1:05 PM
To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
Subject: Re: [cdt-dev] Time to switch to Java 1.7?

Hmm... I was never able to make 32-bit Eclipse work properly on Mac. Do you know anybody who is using it?

-sergey


On Tue, Nov 12, 2013 at 8:22 PM, Doug Schaefer <dschaefer@xxxxxxx> wrote:
That¹s correct. 1.7 and forward will come from Oracle. 1.6 is still auto
installed if you try to run it. And that¹s actually in play here. Eclipse
will try and run 1.6 by default (out of /System/Library), it was actually
tricky to get Momentics (our Eclipse stack) to run against the 1.7 JRE we
bundle (in our nightly builds, not publicly yet).

But there¹s a bigger issue to stay on 1.6 on Mac. There isn¹t a 32-bit JRE
for Mac in JRE 1.7+. So users who have 32-bit Eclipse installed (and yeah,
it¹s too bad they did that to begin with but I¹ll take the blame on that
for the gang we did it to) and upgrade would be broken if we started using
1.7 features because you can¹t upgrade to a new architecture, at least I
haven¹t found a way.

So I¹ll have to unfortunately veto any move to 1.7 at least for 8.3 and
probably 8.4. I¹ll be OK after that. It¹ll force me to figure out how to
get these poor people upgraded.

Doug.

On 11/12/2013, 11:02 PM, "Marc-Andre Laperle" <malaperle@xxxxxxxxx> wrote:

>On 11/1/2013 3:37 PM, Liviu Ionescu wrote:
>> On Nov 1, 2013, at 20:46, Marc-André Laperle
>><marc-andre.laperle@xxxxxxxxxxxx> wrote:
>>
>>> That's the one it downloads by default but Java 7 on OS X can be
>>> installed easily from oracle.com
>> I do not have experience with this specific Oracle version, but past
>>experiences with non-Apple maintained versions were not that great, due
>>to many small details, that finally ruined the general good experience
>>provided by OS X.
>>
>> If OS X Mavericks comes with 1.7 preinstalled, ok, otherwise perhaps we
>>could wait a bit...
>
>Mavericks still downloads Java 6 by default. The latest I've read about
>Apple's Java plans was that they were not going to provide their own
>Java 7 and they would contribute to the OpenJDK project. So I don't
>think we'll ever see an "Apple-maintained" major version again.
>
>http://www.apple.com/pr/library/2010/11/12Oracle-and-Apple-Announce-OpenJD
>K-Project-for-Mac-OS-X.html
>
>Marc-Andre
>
>>
>> Regards,
>>
>> Liviu
>>
>> _______________________________________________
>> cdt-dev mailing list
>> cdt-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>
>_______________________________________________
>cdt-dev mailing list
>cdt-dev@xxxxxxxxxxx
>https://dev.eclipse.org/mailman/listinfo/cdt-dev

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev




--
Bruno Medeiros


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



Back to the top