I am using nativejc with Ant, and I get the error message: “The process cannot access the file because it is being used by another process”. What is wrong?
This error occurs because you are embedding JAR files into the executable, and one or more of those JAR files are locked by Ant (actually the particular instance of java.exe running Ant), hence they cannot be accessed by nativejc. To fix this problem, make sure that none of the JAR files targeted for embedding are listed in the classpath.
Related Questions
- Why do I get error message "The process cannot access the file because it is being used by another process. (Exception from HRESULT:0x80070020)" when you visit "http://Servername/ITA"?
- I am using nativejc with Ant, and I get the error message: "The process cannot access the file because it is being used by another process". What is wrong?
- What does the error message "The process cannot access the file because it is being used by another process" mean?