As the title describes, I started learning Java, from various sources(currently a playlist on youtube). I have JDK 7 installed.
The question is, is there anything I would learn using java 7 as a starter that wouldn’t work on 6? Is there any major difference with the language?
The Language Specicifation and various things I found on the web were too hard to understand.
1) Officially, JDK 7 “isn’t supported” for Android
2) No biggie – JDK 7 should work fine with Android anyway. Just go into Eclipse and set compatibility for “Java 6”.
3) There’s also one minor issue with .jar signing. It’s probably already fixed in the latest Eclipse/Ant combination (Eclipse 4.2/Juno), but the workaround is here:
4) BOTTOM LINE: If you’ve got JDK 7, then just keep JDK 7.