Click here to Skip to main content
15,670,482 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi everyone!
I am working on processing image.
I use ImageIO class to input image data.
It work well when running on developer tools(eclipse).
but after export to executable jar it doesn't work.
I can't find reason.
Here is my code.

Java
bigimg = ImageIO.read(new File("C:\\a.png"));


a.png is an existing file.

Help me~~!
Posted
Updated 16-Mar-14 16:01pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900