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. At a writing of the big program in a team comments
View Tutorial          By: vlad at 2011-05-13 12:29:01

2. Hello,

your solution is kinda overk

View Tutorial          By: Hdm-Student at 2010-06-16 08:10:51

3. thank you..........
View Tutorial          By: ravi at 2010-01-29 23:27:39

4. I need complete steps for execution
Severa

View Tutorial          By: DASAn at 2011-08-10 10:10:36

5. Hi,

I can use this programme to sen

View Tutorial          By: malak at 2012-11-25 17:21:00

6. is there a way to notify a specific thread?
View Tutorial          By: bob at 2010-03-23 11:57:29

7. how to write an byte array containing 10 different
View Tutorial          By: sanjana at 2015-01-17 06:32:41

8. Hi, I have one problem in spinner items. I want to
View Tutorial          By: soodi at 2011-10-18 18:15:58

9. hi guys.
i have downloaded the code for sen

View Tutorial          By: Tabrez Ansari at 2012-09-13 11:03:46

10. Hi,first of all thats for this code developer, its
View Tutorial          By: Kathir at 2008-02-08 06:16:51