Comment on Tutorial - Download a file over a network in J2ME midlet By Eriq Tan



Comment Added by : sharath

Comment Added at : 2010-04-06 00:58:29

Comment on Tutorial : Download a file over a network in J2ME midlet By Eriq Tan
when i trying this code . i am getting this error

java.lang.NoClassDefFoundError: com/sun/kvem/midp/MIDP$KVMInterface
at com.sun.kvem.midp.MIDP.run(Unknown Source)
at com.sun.kvem.environment.EmulatorInvoker.runEmulatorImpl(Unknown Source)
at com.sun.kvem.environment.EmulatorInvoker.runEmulatorSameVM(Unknown Source)
at com.sun.kvem.environment.EmulatorInvoker.runEmulator(Unknown Source)
at com.sun.kvem.environment.ProfileEnvironment$KVMThread.runEmulator(Unknown Source)
at com.sun.kvem.environment.ProfileEnvironment$KVMThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.sun.kvem.midp.MIDP$KVMInterface
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 6 more
Caused by: java.io.IOException: unexpected EOF
at sun.misc.Resource.getBytes(Resource.java:103)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:256)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
... 11 more


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Hi Grenfel, would this be possible??


View Tutorial          By: Lerianne at 2012-08-20 11:37:32

2. Oh! Emiley, thank you very much! There are two lo
View Tutorial          By: Alexey at 2009-04-09 14:17:31

3. u hav done Nice job..
View Tutorial          By: Rakesh at 2012-10-01 16:00:14

4. i wnt develope application on cal time send messag
View Tutorial          By: saurab at 2012-10-11 12:02:52

5. Why not a simple array list of threads?
wha

View Tutorial          By: Ranadheer Machineni at 2011-08-18 12:30:35

6. hi I want to send SMS to mutiple no.s. Is it possi
View Tutorial          By: gaurav at 2011-05-17 09:54:12

7. Very nice article.
Thank you

View Tutorial          By: Ahmed Adel at 2013-02-11 18:33:51

8. Error loading SolarisSerial: java.lang.Unsatisfied
View Tutorial          By: amit doshi at 2009-04-06 02:00:28

9. Program is good and easy to understand
View Tutorial          By: sravs at 2011-05-16 00:45:05

10. this works
-------------------------------

View Tutorial          By: Aeron at 2013-10-20 04:50:51