The JAR file consists of the ffmpeg.exe file and it can run normally on my machine without any problems. However, if I try to run it on another computer it would tell me that java.io.IOException: Cannot run program "ffmpeg.exe": CreateProcess error=2,The system cannot find the file specified from the stacktrace. The way I imported it was
FFMpeg ffmpeg = new FFMpeg("ffmpeg.exe");  //in res folder
...
//ffmpeg class
public FFMPEG(String ffmepgEXE) {
    this.ffmepgEXE = ffmepgEXE;
}
 
    