This week's book giveaway is in the Java in General forum.
We're giving away four copies of Java by Comparison (eBook) and have Simon Harrer, Jörg Lenhard, Linus Dietz on-line!
See this thread for details.
Win a copy of Java by Comparison (eBook) this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

IOException in Sun Java Wireless Toolkit  RSS feed

 
Greenhorn
Posts: 1
Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Sheriff
Posts: 57800
178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch
I think we would need more details before we could help you.
 
Sheriff
Posts: 21255
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to our JME forum.
 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Let's go to the waterfront with this tiny ad:
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!