QuiltMC / quilt-installer

The Quilt installer for the official Minecraft launcher and servers
Apache License 2.0
40 stars 20 forks source link

AccessDeniedException error trying install MC 1.19.1 using quilt-installer-0.4.3.jar #26

Open lospejos opened 2 years ago

lospejos commented 2 years ago

Installed server per documentation from here: https://quiltmc.org/install/server/ Used both GUI and non GUI.

OS: Windows 10 LSTC x86_64. Java: OpenJDK 64-Bit Server VM Zulu18.32+11-CA (build 18.0.2+9, mixed mode, sharing) Tried also other Java versions / vendors. Tried to use other target folders (they all are writable - manually files created here). Used has admin permissions (is a member of group Local Administrators).

The error:

$ c:\bin\zulu18.30.11-ca-jdk18.0.1-win_x64\bin\java.exe -jar quilt-installer-0.4.3.jar install server 1.19.1 --download-server
Installing server launcher at: C:\Users\User\Downloads\games\minecraft\server\quilt\server
Installing server launcher for 1.19.1
Installing libraries
Downloading library at: https://maven.fabricmc.net/net/fabricmc/tiny-mappings-parser/0.3.0+build.17/tiny-mappings-parser-0.3.0+build.17.jar
Downloading library at: https://maven.fabricmc.net/net/fabricmc/sponge-mixin/0.11.4+mixin.0.8.5/sponge-mixin-0.11.4+mixin.0.8.5.jar
Downloading library at: https://maven.fabricmc.net/net/fabricmc/tiny-remapper/0.8.1/tiny-remapper-0.8.1.jar
Downloading library at: https://maven.quiltmc.org/repository/release/org/quiltmc/quilt-loader/0.17.2-beta.1/quilt-loader-0.17.2-beta.1.jar
Downloading library at: https://maven.quiltmc.org/repository/release/org/quiltmc/quilt-json5/1.0.1/quilt-json5-1.0.1.jar
Downloading library at: https://maven.fabricmc.net/net/fabricmc/access-widener/2.1.0/access-widener-2.1.0.jar
Downloading library at: https://maven.fabricmc.net/org/ow2/asm/asm-analysis/9.3/asm-analysis-9.3.jar
Downloading library at: https://maven.fabricmc.net/org/ow2/asm/asm/9.3/asm-9.3.jar
Downloading library at: https://maven.fabricmc.net/org/ow2/asm/asm-tree/9.3/asm-tree-9.3.jar
Downloading library at: https://maven.fabricmc.net/org/ow2/asm/asm-commons/9.3/asm-commons-9.3.jar
Downloading library at: https://maven.quiltmc.org/repository/release/org/quiltmc/quilt-config/1.0.0-beta.5/quilt-config-1.0.0-beta.5.jar
Downloading library at: https://maven.fabricmc.net/org/ow2/asm/asm-util/9.3/asm-util-9.3.jar
Downloading library at: https://maven.fabricmc.net/net/fabricmc/intermediary/1.19.1/intermediary-1.19.1.jar
Downloading library at: https://maven.fabricmc.net/net/fabricmc/intermediary/1.19.1/intermediary-1.19.1.jar
java.util.concurrent.CompletionException: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: C:\Users\User\Downloads\games\minecraft\server\quilt\server\libraries\net\fabricmc\intermediary\1.19.1\intermediary-1.19.1.jar

        at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
        at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
        at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770)
        at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
        at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
        at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
        at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
        at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException: C:\Users\User\Downloads\games\minecraft\server\quilt\server\libraries\net\fabricmc\intermediary\1.19.1\intermediary-1.19.1.jar
        at org.quiltmc.installer.action.InstallServer.lambda$downloadLibrary$8(InstallServer.java:275)
        at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
        ... 6 more
Caused by: java.nio.file.AccessDeniedException: C:\Users\User\Downloads\games\minecraft\server\quilt\server\libraries\net\fabricmc\intermediary\1.19.1\intermediary-1.19.1.jar
        at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89)
        at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
        at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
        at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:236)
        at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:484)
        at java.base/java.nio.file.Files.newOutputStream(Files.java:228)
        at java.base/java.nio.file.Files.copy(Files.java:3161)
        at org.quiltmc.installer.action.InstallServer.lambda$downloadLibrary$8(InstallServer.java:270)
        ... 7 more