[android-developers] Re: Java 1.6?

2009-04-22 Thread Raphael
An Android device doesn't run "Java", it runs Dalvik bytecode. To simplify: you use Java to compile your ".java" source code into binary .class, which is Java bytecode for the JVM. But the android tool chain then transforms this into dalvik bytecode (aka ".dex"). You could think of Java has being

[android-developers] Re: Java 1.6?

2009-04-22 Thread Keith Wiley
Thank you. Cheers! On Apr 22, 10:30 am, Streets Of Boston wrote: > No you can't 'use' JDK1.6 > > When setting up eclipse, for example, you don't link your Android > projects to any JRE. You link it to the Android SDK. If i'm not > mistaken, the Android SDK adhers to the Java 1.5 language spec.

[android-developers] Re: Java 1.6?

2009-04-22 Thread Streets Of Boston
No you can't 'use' JDK1.6 When setting up eclipse, for example, you don't link your Android projects to any JRE. You link it to the Android SDK. If i'm not mistaken, the Android SDK adhers to the Java 1.5 language spec. But for the available packages, apis, etc, Android bundles all the java.*, ja