Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » P2 dev » Check for min Java Execution Environment prior to Update
icon5.gif  Check for min Java Execution Environment prior to Update [message #518700] Thu, 04 March 2010 14:12
Thomas Ehrnhoefer is currently offline Thomas Ehrnhoefer
Messages: 9
Registered: July 2009
Junior Member
Hi

Is it somehow possible to check if the Eclipse one is trying to install new features in actually supports the JRE requirements of all the plugins being installed?

If you switch some plugins from requiring Java 1.5 to 1.6, and run a p2 update from a JRE 1.5 only Eclipse, it will install but on restart fail to load those plugins. Seems the execution requirement settings of plugins are not checked by p2, and on the feature level only OS and architecture specific constraints can be set, but no constraints on the JRE.

Is there any way to still allow an update if possible but check if the JRE requirements are not met before installing?

Thanks for any pointers
Thomas
Previous Topic:Running P2 Ant tasks outside Eclipse
Next Topic:P2 mirror to extract a IU from repository
Goto Forum:
  


Current Time: Wed Aug 27 09:11:29 EDT 2014

Powered by FUDForum. Page generated in 0.01574 seconds