T
tiewknvc9
hi!
Im trying to have my java desktop <i> application </i> write images out
to a file. This works successfully on numerous PCs... and fails on
numerous PCs.
The odd thing is that it is the same exact code, and the same exact
virtual machine! I wish I could develop on one of the machines that it
is failing on, but I can't.
my code is...
iImageCount = 1; //example
File filImg = new File("/temp/myImage" + iImageCount + ".png");
ImageIO.write(renImage, "png", filImg);
the error that comes up is a fileNotFoundException! I tried to add in
filImg.createNewImage(), but that causes problems on the computers that
it is currently working on.
any clue as to where I should begin to figure out an answer?
Thanks!
Im trying to have my java desktop <i> application </i> write images out
to a file. This works successfully on numerous PCs... and fails on
numerous PCs.
The odd thing is that it is the same exact code, and the same exact
virtual machine! I wish I could develop on one of the machines that it
is failing on, but I can't.
my code is...
iImageCount = 1; //example
File filImg = new File("/temp/myImage" + iImageCount + ".png");
ImageIO.write(renImage, "png", filImg);
the error that comes up is a fileNotFoundException! I tried to add in
filImg.createNewImage(), but that causes problems on the computers that
it is currently working on.
any clue as to where I should begin to figure out an answer?
Thanks!