android - how to run java hello world program in adb shell?
<p>It would be better if detailed commands provided. Thanks!</p>

<p>I can use the method adopted by android am/pm program:</p>

<pre><code>1. create Android.mk and java file
2. compile using mmm
3. put the generated jar to target /data/
4. run it:
# export CLASS_PATH=/data/MyTest.jar
# app_process /data com.android.test.MyTest
</code></pre>

<p>It work, but somewhat difficult. I think there must be an easier way using dx/dvz/dalvikvm.</p>
