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?

2
  • How's this possible? Latest version won't support previous version's compatibility!! Which application? Can you provide that message here?
    – Nabil
    May 30, 2013 at 9:57
  • I can't, you don't need to know the name of the application, it won't help you at all. May 30, 2013 at 10:02

1 Answer 1

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...

6
  • do I install 1.6 version exactly the way I did for 1.7? May 30, 2013 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, 2013 at 15:03
  • I need -- stackoverflow.com/questions/7707016/… May 30, 2013 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, 2013 at 16:58
  • but it also says about downgrading back 1.6 and that it helps. May 31, 2013 at 1:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .