Reputation: 274
I'm looking for something like an Eclipse plugin or wizard to step through a large code base (in Java 6) and point out the parts that need to be changed to update to Java 7, perhaps giving suggestions or tips.
I found instructions for doing it manually here, but I was wondering if anyone knew of a tool to make the process more automated.
Upvotes: 0
Views: 71
Reputation: 12196
You can accomplish your goal by manipulating your build environment in Eclipse.
Just switch your JRE System Library being used for the project to Java 7 and see what breaks (Project > Java Build Path > Select and Edit JRE System Library
) . Eclipse will give you fix suggestions if they are available for each issue. You can see a list of errors in the "Problems" view (Window > Show View > Problems).
Upvotes: 2