A good set of questions, given your partial information.

Android runs Java. It does so using the Dalvik VM, which uses a
different set of bytecodes.

The tools for packaging an application take care of converting the
bytecodes.

So Android runs Java 1.5 -- but it doesn't include the full J2SE
libraries, nor is it a J2ME set of libraries, either.

Annotations are in 1.5 -- but there is one annoying difference with
@Override on interface methods.

Eclipse is already designed so that the version of Java that runs
Eclipse, and the version of Java your project uses, don't have to be
the same. In fact, you don't even have to be using Java -- Eclipse
supports many languages, even C.

The result is that Eclipse works pretty much like it always does, with
the addition of a bunch of things specific to Android, and not much
functionality missing.

For more information, you should dive into the Android SDK
documentation.

On Mar 26, 5:40 pm, Poldie <pol...@gmail.com> wrote:
> I've read that Android apps use Java syntax, and not Java per se,
> presumably because of the Davlik VM.  I'm a Java noob, so I may not be
> making sense here,  but don't different versions of Java support
> different things - for example, generics in v5, and annotations in
> v6?    If you're using Eclipse and Java, won't it always be whatever
> is supported in the latest version of Java?  Isn't there a chance that
> when a new version of Java comes out you'll be able to compile apps
> successfully, but which will fail on an Android machine because the VM
> won't know how to interpret the bytecode?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to