Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Intalling with java 6 cannot recover

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



Inactive hide details for Marc Khouzam ---06/05/2014 02:54:27 PM---Sadly I did launch with -clean and it didn't help. Since it Marc Khouzam ---06/05/2014 02:54:27 PM---Sadly I did launch with -clean and it didn't help. Since it should be fixed in M7, we'll try to repr

From: Marc Khouzam <marc.khouzam@xxxxxxxxxxxx>
To: "'Cross project issues'" <cross-project-issues-dev@xxxxxxxxxxx>
Date: 06/05/2014 02:54 PM
Subject: Re: [cross-project-issues-dev] Intalling with java 6 cannot recover
Sent by: cross-project-issues-dev-bounces@xxxxxxxxxxx





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: cross-project-issues-dev-bounces@xxxxxxxxxxx [mailto:cross-project-issues-dev-bounces@xxxxxxxxxxx] 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 <marc.khouzam@xxxxxxxxxxxx>
To:
"'cross-project-issues-dev@xxxxxxxxxxx'" <cross-project-issues-dev@xxxxxxxxxxx>
Cc:
Alvaro Sanchez-Leon <alvaro.sanchez-leon@xxxxxxxxxxxx>
Date:
06/05/2014 12:05 PM
Subject:
[cross-project-issues-dev] Intalling with java 6 cannot recover
Sent by:
cross-project-issues-dev-bounces@xxxxxxxxxxx






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

cross-project-issues-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

GIF image


Back to the top