I am loockig for a way to copy paste a .exe file to a outside place of the jar, so it can run. It should work so that you only have to start the .jar file once on a pc and it set ups all the .exe files needed.
InputStream in = Class.class.getResourceAsStream("Driver/chromedriver.exe");
Files.copy(in,new File(path + "/revTranslator/Driver/chromedriver.exe").toPath());
thats how I tried to copy and paste it