This error is caused when you compile a .java file with one version of JDK
and running the .class file with a different version of JVM.

You may say; same version is not required to compile and run.

Yes, that is true. But you can not run .class files that are compiled with a
newer version than the JVM.

*
*

*javac (compile) - version: X*
*java (run) - version: Y*

*
*

If X is newer than Y; then you may face this issue at runtime.


On Sun, Sep 6, 2009 at 2:48 PM, monali <[email protected]> wrote:

>
> Hi,
>
> I m getting while creating AVD.
> I have excuted following command for creating AVD.
>
> android create avd --target 2 --name my_avd
>
> Getting following error:
>
> java.lang.UnsupportedClassVersionError.
>
> Kindly suggest for the same.
>
> Thanks
> Monali
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to