2

I have Java 6, and I am working on Eclipse for Android programming. I installed Java 7 and all of a sudden, the Java website told me that I have versions that I can remove. This is the photo:

Enter image description here

If I removed these versions, can my Eclipse and Android programs keep working?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Marco Dinatsoli
  • 10,322
  • 37
  • 139
  • 253

2 Answers2

3

Eclipse and Android will work with Java 6 or 7. You just need one of the two running (if you don't have Java at all they won't work). Building the Android platform is another issue entirely...

Keep in mind that Android runs Java 6 so you won't be able to use any Java 7 runtime features that are not backwards compatible.

See here for eclipse compatibility

See this SO answer for Android compatibility.

Community
  • 1
  • 1
Chris Thompson
  • 35,167
  • 12
  • 80
  • 109
1

You only need one version of Java installed. Keep the most recent one and remove the others.

Why doesn't Java uninstall the previous version if you install a newer version? First, compatibility reasons. Second, there might be programs running, and one does not want for example Eclipse or the Android environment to crash if you install a new version.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Tassos Bassoukos
  • 16,017
  • 2
  • 36
  • 40