0

I have Java sdk 1.7 installed correctly. It turns out I need the version of 1.6 also (an application needs it).

How do I install the version of 1.6 and how do I make sure that we'll both work correctly eventually?

Kevin Bowen
  • 19,615
  • 55
  • 79
  • 83
  • How's this possible? Latest version won't support previous version's compatibility!! Which application? Can you provide that message here? – Nabil May 30 '13 at 09:57
  • I can't, you don't need to know the name of the application, it won't help you at all. – Alan Coromano May 30 '13 at 10:02

1 Answers1

2

Java is fully backwards compatible, you can see it by the version numbers. JAVA 6 and 7 are really 1.6 and 1.7 so you only needs the latest version installed.

You may need more packages than waht are provided in the SDK, check this answer for more help.

Following old tutorials runs the risk of not being able to follow them since they don't work anymore. This tutorial you are following is four years old(2009), and the fix for it is a year old which may have worked when 1.7 Was just released but now it's just a memory berried in the history of software development.

Find a new tutorial on the topic, since this one is dead.

OR you can go the extra mile an install a VM with Ubuntu 10.04 and Java sdk 1.6 if you think it's worth that much work...

Alvar
  • 17,058
  • do I install 1.6 version exactly the way I did for 1.7? – Alan Coromano May 30 '13 at 15:01
  • No you only install Java 1.7 it's fully backwards compatible so you don't need two versions as I said. – Alvar May 30 '13 at 15:03
  • I need -- http://stackoverflow.com/questions/7707016/error-when-running-sbt-install-emulator – Alan Coromano May 30 '13 at 16:48
  • @AlanDert On the top of the article it says "Note: this article hasn't been updated in a while and is out of date. In doubt refer to the README of the sbt-android-plugin." And the article is from 2009, so this is so outdated it can be. 1.7 is the standard version and you need to find an up to date article instead. – Alvar May 30 '13 at 16:58
  • but it also says about downgrading back 1.6 and that it helps. – Alan Coromano May 31 '13 at 01:03
  • @AlanDert this question was written when 1.7 was just released, it's not viable right now. You need to find a new tutorial since the one you are following are four years old! – Alvar May 31 '13 at 08:10