Skip to main content



      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 17:25 Go to next message
Eclipse UserFriend
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 02:44 Go to previous messageGo to next message
Eclipse UserFriend
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 11:07 Go to previous messageGo to next message
Eclipse UserFriend
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] Thu, 16 September 2010 20:45 Go to previous messageGo to next message
Eclipse UserFriend
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 02:44 Go to previous messageGo to next message
Eclipse UserFriend
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 11:07 Go to previous messageGo to next message
Eclipse UserFriend
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] Thu, 16 September 2010 20:45 Go to previous message
Eclipse UserFriend
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: Wed May 14 05:38:37 EDT 2025

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

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

Back to the top