Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » There are no JREs in the workspace strictly compatible with this environment.
There are no JREs in the workspace strictly compatible with this environment. [message #26869] Wed, 15 October 2008 21:25 Go to next message
Anthony Hunter is currently offline Anthony HunterFriend
Messages: 446
Registered: July 2009
Senior Member
Hi Team,

I have a plug-in whose build path specifies execution environment J2SE-1.4
and I am using a Java 5 JRE.

No matter what I do, I cannot make this compile warning go away in my
workspace:

There are no JREs in the workspace strictly compatible with this
environment.

In the installed JRE: execution environments, I have set the Java 5 JRE to
be compatible with J2SE-1.4.

Any ideas?

Cheers...
Anthony
Re: There are no JREs in the workspace strictly compatible with this environment. [message #26949 is a reply to message #26869] Thu, 16 October 2008 06:44 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
I hit with the same error sometime back. If I remember it correctly, a Clean
Build on all the projects will clear that error after you have set the Java
5 JRE to be compatible with 1.4

- Prakash
--

http://blog.eclipse-tips.com

"Anthony Hunter" <anthonyh@ca.ibm.com> wrote in message
news:gd5n49$qf0$1@build.eclipse.org...
> Hi Team,
>
> I have a plug-in whose build path specifies execution environment J2SE-1.4
> and I am using a Java 5 JRE.
>
> No matter what I do, I cannot make this compile warning go away in my
> workspace:
>
> There are no JREs in the workspace strictly compatible with this
> environment.
>
> In the installed JRE: execution environments, I have set the Java 5 JRE to
> be compatible with J2SE-1.4.
>
> Any ideas?
>
> Cheers...
> Anthony
>
>
>
Re: There are no JREs in the workspace strictly compatible with this environment. [message #27028 is a reply to message #26869] Thu, 16 October 2008 15:07 Go to previous messageGo to next message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
You may want to consider adding an additional 1.4 vm in your preferences
instead of marking the 1.5 vm compatible.

By using the 1.5 class libraries, you could accidentally use 1.5 API in
your J2SE-1.4 bundle and you wouldn't get compile errors.

We've had this problem in the past with the platform where some of our
bundles are marked CDC-1.0/Foundation-1.0

-Andrew

Anthony Hunter wrote:
> Hi Team,
>
> I have a plug-in whose build path specifies execution environment J2SE-1.4
> and I am using a Java 5 JRE.
>
> No matter what I do, I cannot make this compile warning go away in my
> workspace:
>
> There are no JREs in the workspace strictly compatible with this
> environment.
>
> In the installed JRE: execution environments, I have set the Java 5 JRE to
> be compatible with J2SE-1.4.
>
> Any ideas?
>
> Cheers...
> Anthony
>
>
>
Re: There are no JREs in the workspace strictly compatible with this environment. [message #559523 is a reply to message #26869] Fri, 17 September 2010 00:45 Go to previous messageGo to next message
public is currently offline publicFriend
Messages: 9
Registered: September 2010
Junior Member
Check Prefs->Java->Compiler->Building->"No strictly compatible ..."
Re: There are no JREs in the workspace strictly compatible with this environment. [message #582931 is a reply to message #26869] Thu, 16 October 2008 06:44 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
I hit with the same error sometime back. If I remember it correctly, a Clean
Build on all the projects will clear that error after you have set the Java
5 JRE to be compatible with 1.4

- Prakash
--

http://blog.eclipse-tips.com

"Anthony Hunter" <anthonyh@ca.ibm.com> wrote in message
news:gd5n49$qf0$1@build.eclipse.org...
> Hi Team,
>
> I have a plug-in whose build path specifies execution environment J2SE-1.4
> and I am using a Java 5 JRE.
>
> No matter what I do, I cannot make this compile warning go away in my
> workspace:
>
> There are no JREs in the workspace strictly compatible with this
> environment.
>
> In the installed JRE: execution environments, I have set the Java 5 JRE to
> be compatible with J2SE-1.4.
>
> Any ideas?
>
> Cheers...
> Anthony
>
>
>
Re: There are no JREs in the workspace strictly compatible with this environment. [message #582943 is a reply to message #26869] Thu, 16 October 2008 15:07 Go to previous messageGo to next message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
You may want to consider adding an additional 1.4 vm in your preferences
instead of marking the 1.5 vm compatible.

By using the 1.5 class libraries, you could accidentally use 1.5 API in
your J2SE-1.4 bundle and you wouldn't get compile errors.

We've had this problem in the past with the platform where some of our
bundles are marked CDC-1.0/Foundation-1.0

-Andrew

Anthony Hunter wrote:
> Hi Team,
>
> I have a plug-in whose build path specifies execution environment J2SE-1.4
> and I am using a Java 5 JRE.
>
> No matter what I do, I cannot make this compile warning go away in my
> workspace:
>
> There are no JREs in the workspace strictly compatible with this
> environment.
>
> In the installed JRE: execution environments, I have set the Java 5 JRE to
> be compatible with J2SE-1.4.
>
> Any ideas?
>
> Cheers...
> Anthony
>
>
>
Re: There are no JREs in the workspace strictly compatible with this environment. [message #606877 is a reply to message #26869] Fri, 17 September 2010 00:45 Go to previous message
public is currently offline publicFriend
Messages: 9
Registered: September 2010
Junior Member
Check Prefs->Java->Compiler->Building->"No strictly compatible ..."
Previous Topic:Problem with plug-in shipping: Can't run a 32bit (SWT) plugin on a 64bit machine
Next Topic:getting NoClassDefFound on commons logggin!:(
Goto Forum:
  


Current Time: Thu Apr 18 22:37:37 GMT 2024

Powered by FUDForum. Page generated in 0.01901 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top