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



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..
How can i read .mp3 files from memory

View Tutorial          By: satyanarayana at 2010-03-29 11:14:27

2. input can be taken simly with Console class

View Tutorial          By: Dinesh at 2012-06-29 11:18:23

3. well written hog .good going
View Tutorial          By: Rajesh at 2010-08-17 03:38:05

4. how can get ip url...?
View Tutorial          By: arjuna at 2011-11-23 03:31:46

5. Declaring int result within the method will change
View Tutorial          By: Soph at 2013-02-06 06:11:39

6. Thank You , It's Very Good.
View Tutorial          By: Jack at 2012-06-10 14:09:24

7. thanks..very nice and easy to understand for new j
View Tutorial          By: Ranjan at 2011-07-22 08:34:50

8. programming for java is excelent
View Tutorial          By: roldan at 2010-07-19 00:22:52

9. Hi.
How we can create list with menuitem in

View Tutorial          By: omid at 2008-09-08 02:09:50

10. How to send to multiple mobiles at a time
View Tutorial          By: rakesh at 2010-04-30 10:33:51