I just tried and could not reproduce.  Installing CDT on Java 6,
re-launching and having a look at the osgi> console showed the CDT bundles
as INSTALLED (not resolved).  Relaunching with Java 7 allowed the CDT
bundles to resolve.  I would double check that Java 7 is really being used.
Start with -console and issue the command:

props | grep environment

That should give you the following:

org.osgi.framework.executionenvironment =
OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-1.2,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6,JavaSE-1.7

Notice JavaSE-1.7 at the end.

Tom





From:   Marc Khouzam <[email protected]>
To:     "'Cross project issues'" <[email protected]>
Date:   06/05/2014 02:54 PM
Subject:        Re: [cross-project-issues-dev] Intalling with java 6 cannot
            recover
Sent by:        [email protected]



Sadly I did launch with –clean and it didn’t help.

Since it should be fixed in M7, we’ll try to reproduce on another machine
to make sure it is not my environment.

From: [email protected] [
mailto:[email protected]] On Behalf Of Thomas
Watson
Sent: Thursday, June 05, 2014 3:07 PM
To: Cross project issues
Subject: Re: [cross-project-issues-dev] Intalling with java 6 cannot
recover



This sounds like https://bugs.eclipse.org/bugs/show_bug.cgi?id=432485

But that should have been fixed in M7.  I am curious if launching with
-clean fixes the issue.  I would start with a bug against Equinox Framework
if it is what I suspect (somehow the framework is not forcing a refresh of
the system bundle to update its capabilities to include the Java 7
execution environment).

Tom



Inactive hide details for Marc Khouzam ---06/05/2014 12:05:12 PM---Hi, I'm
testing installing CDT on RC3.  CDT requires Java 7.Marc Khouzam
---06/05/2014 12:05:12 PM---Hi, I'm testing installing CDT on RC3.  CDT
requires Java 7.

From: Marc Khouzam <[email protected]>
To: "'[email protected]'" <
[email protected]>
Cc: Alvaro Sanchez-Leon <[email protected]>
Date: 06/05/2014 12:05 PM
Subject: [cross-project-issues-dev] Intalling with java 6 cannot recover
Sent by: [email protected]




Hi,

I'm testing installing CDT on RC3.  CDT requires Java 7.
My system switched to java 6 under my feet, so I ended up installing CDT
using java 6.
The install worked but when running, most CDT plugins didn't start and I
got some errors due to java 6.
I then switched back to java 7 and ran the already installed version.
Surprisingly, things still failed but no errors reported.

So, it looks like installing plugins that require a newer java than what is
running is non-recoverable.

Is this a bug I should report? If so, to what component?

Thanks

Marc
_______________________________________________
cross-project-issues-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
_______________________________________________
cross-project-issues-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
_______________________________________________
cross-project-issues-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

Reply via email to