Another option is:
- Project > Properties > Java Build Path
- Select Libraries tab
- Select the troublesome JRE entry
- Click Edit button
- Choose an alternate JRE
- Click Finish button
Pointing the project at your installed JRE might be a better choice than renaming your JRE to match the old project code.