I want to give permissions mode value \"777\" to image file using Java code. How can I give that using Java? Because I can\'t delete the image with default permission mode \
You can use the 'exec' method to run an external command to do the chmod.
Runtime.getRuntime().exec( "chmod 777 myfile" );