Build 7041, JDK 6, Ubuntu Feisty
I've imported a number of Maven 2 POMs into a new project. I am intermittently getting an error when trying to run a goal (like "clean") from a POM from within the "Maven projects" pane. A dialog pops up saying
Error running : Cannot find JRE ''
I can run this goal (or any) from the command line, again using JDK 6 and Maven 2.0.6. I've tried changing the settings in the Maven Integration dialog to
- set Maven home and check/uncheck "override"
- choose to use embedded Maven
- choose internal Maven with JRE: "1.6", internal, or JAVA_HOME
No messages or errors appear in the logs when this happens.
I got this when I first imported the POMs, but was able to pick a task and choose "Debug " instead of "Run ". After reopening the project, neither Run nor Debug work.