This week's book giveaway is in the Spring forum. We're giving away four copies of Spring Boot in Practice and have Somnath Musib on-line! See this thread for details.
Are you trying to set the working (current) directory for the JVM process? You can't do that. But you really shouldn't need to -- what is your actual requirement?
Open it with a FileInputStream Open the new location with a FileOutputStream Allocate a byte array buffer Read into the buffer, write from the buffer close both streams.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.