I am using eclipse with eclipseme.I have created one sample project in which i have one midlet and i want to put image in my jar.so i have put the image in res folder but still it is giving exception IO .here is my code
pic1 =Image.createImage("/res/dairy.png") ;
also i have tried like this
pic1 =Image.createImage("/dairy.png") ;
where should i put the image?