I am trying to create a build file for my app. I am getting the following error:
Specified VM install not found: type Standard VM, name jre6.
I have not worked on this project in a while and this used to work. However, I think I am using jre7 now in other projects in this workspace (not sure how I managed to do that). I guess that is the crux of the problem. How do I specify jre7 for all projects in the workspace? If that can't be done where do I specify it for each project? Of course all that assumes that is the cause of the error. TIA.
Your project must have had its JRE set to something other than the workspace's default, specifically one in your Installed JREs list named 'jre6' that is no longer there. You can change what it uses from the project's Java Build Path page in its Properties dialog. I'd suggest choosing by Execution Environment unless you're really intending to target a specific update level.
Eclipse WTP, IBM Emerging Technologies
Thanks for the reply but I am not seeing what you suggested (Eclipse v 4.2.0). I am in Projects -> Properties -> Java Build Path and none of the tabs (Source, Projects, Libraries, Order and Export) have any such option. Please clarify.
In the event someone else ever runs into this problem, I found the solution and it has nothing to do with the build path. I don't understand the underlying reasons but I found an obscure reference to org.eclipse.debug.core. I wound up deleting .../.metadata/.plugins/org.eclipse.debug.core/.launches/*. and that fixed the problem. I have no idea why.