Currently the jar -C parameter fails on Windows with UNC paths. For example with jdk10 : c:\testdir>c:\tools\jdk10\bin\jar.exe test.jar -C \\MYMACHINE\subdir README.txt Illegal option: s Try `jar --help' for more information. ... while the directory (and README.txt in it) is present : c:\testdir>dir \\MYMACHINE\subdir ....... Directory of \\MYMACHINE\subdir 17.07.2018 12:25 <DIR> . 17.07.2018 12:25 <DIR> .. 17.07.2018 12:25 0 README.txt
|