Various errors when attemping to run client
Closed this issue ยท 4 comments
Unsure if this is an issue with my setup or not. Code is a direct copy from source. At first, I get
> Task :neoforge:dev.architectury.transformer.TransformerRuntime.main() FAILED
Unrecognized VM option 'AllowEnhancedClassRedefinition'
I modified my run configuration to include -XX:+IgnoreUnrecognizedVMOptions which yielded a different error:
Error opening zip file or JAR manifest missing : C:\<path>\Exposure\.gradle\architectury\architectury-transformer-agent.jar
This happens with both Fabric and NeoForge. Multiple JDK's have been tested, same errors on all of them.
My knowledge of gradle is pretty poor, so I don't know how to help you with this.
Try commenting out hotswap related code.
There's a chance that I did something that makes it work only on my machine, but I think it's unlikely.
Dont worry, however poor your gradle knowledge is, mine is probably twice as bad ๐
Ill try some things and get back to you! ๐
Commenting out vmArgs '-XX:+AllowEnhancedClassRedefinition', '-XX:HotswapAgent=core' on line 108 of the root build.gradle seems to have fixed it. Thanks!
Any idea as to what this is all about?