Marco Dinatsoli
Marco Dinatsoli

Reputation: 10570

Can I remove Java 6 and Android still working?

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?

Upvotes: 2

Views: 192

Answers (2)

Tassos Bassoukos
Tassos Bassoukos

Reputation: 16142

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.

Upvotes: 1

Chris Thompson
Chris Thompson

Reputation: 35598

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.

Upvotes: 3

Related Questions