[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orekit Developers] [SOCIS] problem converting a jar to android
- To: orekit-developers@orekit.org
- Subject: Re: [Orekit Developers] [SOCIS] problem converting a jar to android
- From: Alexis Robert <alexis.robert@gmail.com>
- Date: Sun, 18 Sep 2011 20:39:52 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=+9+uOpPPZshcKAh9qYN5oRj1h+0B+Uv4DnpFf9kafBE=; b=munI+Lm664rPiQWCRUxd4zx0yt//0kv5PNSGOqKHJfLrwK3M96Rn6SJQicW8kqPcNS kXmdzdQCszRWlmwgcnWpmm9Ebz4n71NZtwkyZXLNZRY9QRBxZmcKo5UelP+VamvI4SPo WtgOG8RqFUoxVqoYi2geK2Sttq3r9XsVBwhLQ=
- In-reply-to: <CAODRHCeYm-aq=PHRkdg1RNQ7viYEi5hvtmtvD7_=peQED_X2OA@mail.gmail.com>
- References: <20110918162718.54427728fcur2vnq@messagerie.si.c-s.fr> <CAODRHCeYm-aq=PHRkdg1RNQ7viYEi5hvtmtvD7_=peQED_X2OA@mail.gmail.com>
On Sun, Sep 18, 2011 at 4:35 PM, Alexis Robert <alexis.robert@gmail.com> wrote:
> On Sun, Sep 18, 2011 at 4:27 PM, MAISONOBE Luc <luc.maisonobe@c-s.fr> wrote:
>> the command:
>> dalvikvm -classpath test.jar org.apache.commons.math.LucTestPerformance
>>
>> produced the following error:
>>
>> Dalvik VM unable to locate class
>> 'org/apache/commons/math/LucTestPerformance'
>> java.lang.NoClassDefFoundError: org.apache.commons.math.LucTestPerformance
>> at dalvik.system.NativeStart.main(Native Method)
>> Caused by: java.lang.ClassNotFoundException:
>> org.apache.commons.math.LucTestPerformance in loader
>> dalvik.system.PathClassLoader[test.jar]
>> at: dalvik.system.PathClassLoader.fincClass(PathClassLoader.java:251)
>> at: java.lang.ClassLoader.loadClass(ClassLoader.java:548)
>> at: java.lang.ClassLoader.loadClass(ClassLoader.java:508)
>> ... 1 more
>>
>
> That's strange. Can I have the test.jar file to test ?
>
> Alexis
>
That's strange, the test.jar file you gave me worked on my Nexus One
(both via USB and directly using Connectbot) and on an Android 3.1
emulator.
Just one very stupid question (because I don't really have any other
idea right now), have you made "cd /mnt/sdcard/" before running
dalvikvm ? :) Btw, if you've downloaded the .jar from the web, it
should be in /mnt/sdcard/Download/. I also had the same error when I
used the non-converted .jar.
Alexis