This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java Micro Edition and the fly likes IOException in Sun Java Wireless Toolkit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "IOException in Sun Java Wireless Toolkit" Watch "IOException in Sun Java Wireless Toolkit" New topic
Author

IOException in Sun Java Wireless Toolkit

Remya Sarasan
Greenhorn

Joined: Apr 27, 2011
Posts: 1

I created one project in Java Wireless Toolkit , and when I run it shows that

java.io.IOException
at javax.microedition.lcdui.ImmutableImage.getImageFromStream(+15)
at javax.microedition.lcdui.ImmutableImage.<init>(+20)
at javax.microedition.lcdui.Image.createImage(+8)
at DisplayHandler.<init>(+544)
at BLUEZONE.startApp(+8)
at javax.microedition.midlet.MIDletProxy.startApp(+7)
at com.sun.midp.midlet.Scheduler.schedule(+270)
at com.sun.midp.main.Main.runLocalClass(+28)
at com.sun.midp.main.Main.main(+80)
would you please explain about thisis exception? BLUEZONE is my MIDlet classname and DisplayHandler is one class in the package, build was successful.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38467
    
  23
Welcome to the Ranch
I think we would need more details before we could help you.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19674
    
  18

Moving to our JME forum.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
kumar mdu
Ranch Hand

Joined: Jan 04, 2011
Posts: 59
From your error, I think you didn't save your image into res source folder. put your image in res folder.

or else, give us more details our experts will try to help you.

Thanks,
kumar.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: IOException in Sun Java Wireless Toolkit