Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » No required execution environment... Causing Trouble
No required execution environment... Causing Trouble [message #330161] Thu, 17 July 2008 11:32 Go to next message
Eclipse UserFriend
All,

I recently upgraded to Ganymede. Day before yesterday, I decided to
address all my compiler warnings. I noticed this one warning "No required
execution environment has been set." I attempted to heed the warning an
make the appropriated settings in the manifest. I was then rewarded a
cascading set of problems. Everyone of the plugins in my project ceased
to compile yeilding the message saying there was an access restriction on
rt.jar. According to the project properties under "java build path/JRE
System Library" there are no restrictions set. I then deleted the
required environment business from all manifests clicking the update
classpath thing as I went, but to no avail.

I cured the problem by selecting Alternate JRE in the JRE System Library
edit dialog and selecting the same JRE as was the workspace default. The
whole complaint about access restriction disappeared. Later, I used the
dialog to reset back to the workspace default and all remains well.

What gives?

PS

When I was in the throws of setting required environments, in one of my
plugins, no matter what I did I could not satisfy the need for an exact
match jre. From the Overview/Configure JRE associations... I would select
what the dialog would tell me was an exact match, but eclipse would
continue to say that it was not.
Re: No required execution environment... Causing Trouble [message #330184 is a reply to message #330161] Fri, 18 July 2008 10:06 Go to previous message
Eclipse UserFriend
Originally posted by: zx.code9.com

Geoffry Roberts wrote:
> When I was in the throws of setting required environments, in one of my
> plugins, no matter what I did I could not satisfy the need for an exact
> match jre. From the Overview/Configure JRE associations... I would
> select what the dialog would tell me was an exact match, but eclipse
> would continue to say that it was not.

When you added the execution environment... did you also update the
classpath compliance settings? ie., did you still have a warning next to
the Bundle-RequiredExecutionEnvironment header offering you a quickfix
to do such a thing?

Cheers,

~ Chris
Previous Topic:Signal Error
Next Topic:Update site hangs Eclipse (3.3)
Goto Forum:
  


Current Time: Thu May 08 18:13:58 EDT 2025

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

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

Back to the top