-3

I have the existing codebase which runs on java6, but the current requirement is to upgrade the Java from java6 to java 7, Can anyone please let me know the steps, how can i upgrade it using eclipse(because i am using eclipse as IDE)?.

  • 1
    Step 1: just set the JDK to Java 7 and make sure that the project is not set to Java 6 compatibility, then check if something breaks. If not, try to run. – Gimby Aug 12 '15 at 07:19
  • 1
    Just in case the mild sarcasm is lost in that comment: What I'm saying is that at this point you don't even know you need to migrate anything so you're asking about something which may be entirely a non-issue. Try before you ask. – Gimby Aug 12 '15 at 07:22
  • Gimby, just want to tel you that. I will follow the steps as like below:
    1. Uninstall Jav6 from system 2. Install Java 7 and 3. Point to Java 7. Is it correct?
    – user3371058 Aug 12 '15 at 07:26

1 Answers1

0

Upgrading code requires almost nothing, as Java 7 is backwards compatible with Java 6 except for a few things, mostly behavioral and in the standard library. And as said here, it should mostly just work:

What do I need to do?

Option 1 – “Just run”

Upgrading your eclipse project has been asked and answered several times, like here.

Community
  • 1
  • 1
Sebastian
  • 1,076
  • 9
  • 24